United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6473338 ATG application occasionally hangs during safepointing (due to monitor inflation livelock?)
6473338 : ATG application occasionally hangs during safepointing (due to monitor inflation livelock?)

Details
Type:
Bug
Submit Date:
2006-09-21
Status:
Closed
Updated Date:
2010-12-03
Project Name:
JDK
Resolved Date:
2007-07-11
Component:
hotspot
OS:
solaris_9,linux,solaris_10
Sub-Component:
runtime
CPU:
x86,sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6u4

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
While I was running ATG app, I saw it hang after 1 days and 13 hours or so. I also found that the server process was hogging the system at the time of the hang. It is happening to Solaris 9 only, and I couldn't reproduce it using 2 other machines running Solaris 10 and 11. Since I couldn't keep the live process, I have restarted the test and hope I could reproduce it.

After Ramki looking at the pstack file from the gcore, it showed the vm thread was trying to safepoint the JVM while several threads appeared to be stuck looping in the monitor inflation code. We have given the heads-up to Dave, and he will look into the case.

Please see the pstack file attached.

Test related information:
-------------------------
hostname: jtg-blade2.sfbay.sun.com (please contact the submitter for the login)
Sun Blade 1000, 2 ways @ 900 MHZ with 2 G of RAM.

bash-2.05# cat /etc/*release*
                       Solaris 9 9/04 s9s_u7wos_09 SPARC
          Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
                       Use is subject to license terms.
                            Assembled 29 June 2004

JAVA_HOME=/usr/j2se

Flags="-server  -XX:+UseParallelOldGC"

Log and core file location: 
/backup/mustang/atgrun.24112.-server

Please look at core.24669, which is the troubled server process that eventually hog the whole system.

 core.24669      <- The server process core file
 core.9232       <- The client process core file

                                    

Comments
EVALUATION

6518490 describes the more general problem.
                                     
2007-05-02
EVALUATION

see comments
                                     
2006-10-09



Hardware and Software, Engineered to Work Together