review request (S) JSR292: SIGSEGV in JNIHandleBlock::release_block(JNIHandleBlock*, Thread*)+0x3c

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Feb 7 08:18:46 PST 2012


good.

Vladimir

Roland Westrelin wrote:
> 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