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

Tom Rodriguez tom.rodriguez at oracle.com
Tue Feb 7 07:14:54 PST 2012


Looks good.

tom

On Feb 7, 2012, at 2:09 AM, 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