RFR(XXS): 8194652 VMError::print_native_stack() is missing an os::is_first_C_frame() check

Daniel D. Daugherty daniel.daugherty at oracle.com
Fri Jan 5 16:11:13 UTC 2018


Greetings,

I have a very small fix for a bug in VMError::print_native_stack() along
with a new test. I ran into the bug while working on some stack walking
code. For some reason, the bug only reproduces on OSX and Solaris X64.

8194652 VMError::print_native_stack() is missing an 
os::is_first_C_frame() check
https://bugs.openjdk.java.net/browse/JDK-8194652

Webrev: http://cr.openjdk.java.net/~dcubed/8194652-webrev/jdk11-0/


The new test has been verified to fail on OSX and Solaris X64 without the
fix in place and, with the fix in place, it passes on all Mach5 platforms.
I've tested the fix with a Mach5 hs-tier[1-3] run and there are no unknown
failures.

Thanks, in advance, for any comments, questions, or suggestions.

Dan


More information about the hotspot-runtime-dev mailing list