United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6527187 Error: assert(!thread->owns_locks(),"must release all locks when leaving VM")
6527187 : Error: assert(!thread->owns_locks(),"must release all locks when leaving VM")

Details
Type:
Bug
Submit Date:
2007-02-21
Status:
Resolved
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2007-03-15
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10

Related Reports
Backport:
Backport:

Sub Tasks

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.
                                     
2007-02-21



Hardware and Software, Engineered to Work Together