RFR: 8163014: Mysterious/wrong value for "long" frame local variable on 64-bit

Mandy Chung mandy.chung at oracle.com
Thu Sep 8 00:56:44 UTC 2016

> On Sep 7, 2016, at 6:35 AM, Coleen Phillimore <coleen.phillimore at oracle.com> wrote:
> On 9/7/16 9:09 AM, Max Ockner wrote:
>> Does the stackwalk API have access to the type of variable at each slot? Where is this information stored? My operating assumption was that it did not have this information, and therefore needed to read the garbage slot.
> This is true.  The StackWalk API does not have type information for these longs, so this prevents garbage values from being read.
> Adding core-libs.

AFAIU, the type information is not available in the current implementation.  The current non-public API does include the type but I plan to revise it and revisit in the future.


More information about the hotspot-runtime-dev mailing list