PING: 6908267: Zero fails to unlock synchronized native methods on exception

Tom Rodriguez Thomas.Rodriguez at Sun.COM
Tue Jan 5 10:21:19 PST 2010


Yes this looks fine.  Would you like me to push it?

tom

On Jan 5, 2010, at 2:42 AM, Gary Benson wrote:

> Hi all,
> 
> If a synchronized native method throws an exception, Zero does
> not unlock it.  This leaves the receiver (or mirror) "locked"
> to a "monitor" which is basically junk on the stack, and the
> VM will crash at the next safepoint if not before.
> 
> http://cr.openjdk.java.net/~gbenson/zero-fix-6908267/ fixes
> this issue.  It's been hanging around for a month or so now.
> Could somebody please look at it for me?
> 
> Cheers,
> Gary
> 
> -- 
> http://gbenson.net/



More information about the hotspot-dev mailing list