Bogus call to frame constructor in os_linux_x86.cpp
Jeremy Manson
jeremymanson at google.com
Fri Nov 2 11:44:07 PDT 2012
Hi folks,
We're playing with JNI code without frame pointers, and we've come across
an interesting call to the frame constructor. Line 193 of this file:
http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/4d37eb50b9b1/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
Calls the constructor here:
http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/4d37eb50b9b1/src/cpu/x86/vm/frame_x86.inline.hpp
which triggers the assert on line 46 in a very straightforward way. That
seems bogus.
For our tinkering, we have a workaround that avoids having
os::is_first_C_frame() fail in the first place, but surely this call
shouldn't happen? Or the assert should be taken out?
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20121102/96011105/attachment.html
More information about the hotspot-runtime-dev
mailing list