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

Gary Benson gbenson at redhat.com
Tue Jan 5 10:23:18 PST 2010


Yes please :)

Cheers,
Gary

Tom Rodriguez wrote:
> 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