United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7021531 lock ordering problems after fix for 6354181
JDK-7021531 : lock ordering problems after fix for 6354181

Details
Type:
Bug
Submit Date:
2011-02-22
Status:
Closed
Updated Date:
2011-04-24
Project Name:
JDK
Resolved Date:
2011-04-24
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b03)

Related Reports
Backport:

Sub Tasks

Description
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/mutex.cpp:1307
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/B/195407.never/source/src/share/vm/runtime/mutex.cpp:1307), pid=29819, tid=15
#  fatal error: acquiring lock Compile_lock/19 out of order with lock tty_lock/0 -- possible deadlock

                                    

Comments
EVALUATION

I think we should release the tty lock over this call to avoid ordering problems.
                                     
2011-02-22
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/5841dc1964f0
                                     
2011-02-23



Hardware and Software, Engineered to Work Together