JDK-6968336 : VM crash guarantee(!nm->is_zombie()) failed: cannot lock a zombie method
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs19
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2010-07-12
  • Updated: 2012-02-01
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u21pFixed 7Fixed hs19Fixed
Related Reports
Relates :  
Description
These tests crashes on all platforms with product and fastdebug.
The crash is not reproduced with previous build.
The issues is reproduced with -Xcomp only.

nsk/jvmti/GenerateEvents/genevents001
nsk/jvmti/RedefineClasses/redefclass028
nsk/jvmti/RedefineClasses/redefclass029
nsk/jvmti/RedefineClasses/redefclass030
nsk/jvmti/scenarios/sampling/SP06/sp06t001
nsk/jvmti/scenarios/sampling/SP06/sp06t002
nsk/jvmti/scenarios/sampling/SP06/sp06t003

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/a528509c992b
21-07-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/a528509c992b
15-07-2010

EVALUATION The fix for 6965671 iterates over the code cache and processes nmethod 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.
13-07-2010