review request (S) JSR292: SIGSEGV in JNIHandleBlock::release_block(JNIHandleBlock*, Thread*)+0x3c
Roland Westrelin
roland.westrelin at oracle.com
Tue Feb 7 02:09:36 PST 2012
http://cr.openjdk.java.net/~roland/7119286/webrev.00/
SIGSEGV happens in a method handle stub an is used to trigger a NPE but because, the method handle stubs are called from the interpreter (or through a c2i), when the thread executes the throw_NullPointerException_at_call_entry, the stack is not properly aligned. Aligning the stack before the call in throw_NullPointerException_at_call_entry fixes the problem.
Roland.
More information about the hotspot-compiler-dev
mailing list