JDK1.5 regression from experimental to patchset 1

Ian G iang at iang.org
Sun Jan 23 21:25:07 PST 2005


Brent Verner wrote:

>When the hang occurs, the java process is not
>consuming any cpu.
>  
>

you probably already tried this, but does
hitting it with CTRL\ work?  If the JVM is sent
a SIGQUIT or kill -3 then it dumps the threads
on stdout.  Examples below.   This can give
some clues as to what it is waiting on, if
you hit at the appropriate moment.

iang

-- 
News and views on what matters in finance+crypto:
        http://financialcryptography.com/

^Z
[1]+  Stopped                 ./wf
Wf(sox)localhost$ bg
[1]+ ./wf &
Wf(sox)localhost$ kill -3 %1
Full thread dump Java HotSpot(TM) Client VM (1.4.2-p6-toor_17_dec_2004_01_31 mixed mode):

"DestroyJavaVM" prio=5 tid=0x08058c00 nid=0x8058000 waiting on condition [0..bfbfc210]

"Java2D Disposer" daemon prio=10 tid=0x0833f200 nid=0x833f800 in Object.wait() [bf822000..bf822d08]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2c452208> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
        - locked <0x2c452208> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at sun.java2d.Disposer.run(Disposer.java:100)
        at java.lang.Thread.run(Thread.java:534)

"AWT-EventQueue-0" prio=6 tid=0x0839f000 nid=0x839f200 in Object.wait() [bf863000..bf863d08]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2ca05360> (a java.awt.EventQueue)
        at java.lang.Object.wait(Object.java:429)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:339)
        - locked <0x2ca05360> (a java.awt.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:162)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)




More information about the freebsd-java mailing list