Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 05:29:53 +0000
From:      Ian G <iang@iang.org>
To:        Brent Verner <brent@rcfile.org>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK1.5 regression from experimental to patchset 1
Message-ID:  <41F487D1.3060805@iang.org>
In-Reply-To: <20050124035338.GA68489@rcfile.org>
References:  <1106332573.54288.6.camel@renaissance.homeip.net> <20050124035338.GA68489@rcfile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F487D1.3060805>