United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6336479 : DetachCurrentThread should release thread-owned monitors

Details
Type:
Bug
Submit Date:
2005-10-13
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2005-11-02
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
JNI spec states that all Java monitors held by thread are released after call of DetachCurrentThread. Test (see attachment) shows that it isn't correct.

                                    

Comments
EVALUATION

Yes, DetachCurrentThread should release thread-owned monitors.
                                     
2005-10-13



Hardware and Software, Engineered to Work Together