JDK-6527187 : Error: assert(!thread->owns_locks(),"must release all locks when leaving VM")
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-02-21
  • Updated: 2020-08-26
  • Resolved: 2007-03-15
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
6u4Fixed 7Fixed hs10Fixed
Related Reports
Relates :  
Description
service nightly tests failed:

*   nsk/jvmti/DynamicCodeGenerated/dyncodgen001
*   nsk/jvmti/scenarios/events/EM04/em04t001
       These tests failed the following assert:

           Internal Error (src/share/vm/runtime/interfaceSupport.hpp, 244)
           Error: assert(!thread->owns_locks(),"must release all locks
           when leaving VM") 

after putback of lazy compiler initialization.

Comments
EVALUATION The newly added lock CompileThread_lock is held during initialization and this triggers the assert when runtime stubs are created.
21-02-2007