review (XS) for 6968336: VM crash guarantee(!nm->is_zombie()) failed: cannot lock a zombie method

Christian Thalinger christian.thalinger at oracle.com
Thu Jul 15 08:52:14 PDT 2010


On Thu, 2010-07-15 at 08:37 -0700, Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/6968336
> 
> 6968336: VM crash guarantee(!nm->is_zombie()) failed: cannot lock a zombie method
> Reviewed-by:
> 
> The fix for 6965671 iterates over the code cache and processes
> nmethods for which is_alive is true.  It includes an nmethodLocker to
> protect the nmethod but it's illegal to lock zombie nmethods.  The
> nmethodLocker should be inside the is_alive test instead of outside to
> guard against this case.  There was also a ShouldNotReachHere that I
> added during testing that I should have removed before putback.
> Tested with the jvmti tests under ute.

Looks good.  -- Christian



More information about the hotspot-compiler-dev mailing list