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

Gary Benson gbenson at redhat.com
Tue Dec 8 06:58:12 PST 2009


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