Review Request: 6908267: Zero fails to unlock synchronized native methods on exception

Gary Benson gbenson at redhat.com
Fri Dec 18 00:40:49 PST 2009


Hi all,

Did anybody have any objections to this?  If not, would it be possible
for someone to push it for me?

Cheers,
Gary

Gary Benson wrote:
> Hi all,
> 
> If a synchronized native method throws an exception, Zero does not
> unlock it.  This leaves the receiver/mirror locked, with a stale
> monitor, which can cause the VM will crash at some unspecified time
> in the future.  This webrev fixes it.
> 
>   http://cr.openjdk.java.net/~gbenson/zero-fix-6908267/
> 
> Cheers,
> Gary
> 
> -- 
> http://gbenson.net/


More information about the hotspot-dev mailing list