From owner-freebsd-java@FreeBSD.ORG Mon Jan 24 05:25:07 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4217116A4CE for ; Mon, 24 Jan 2005 05:25:07 +0000 (GMT) Received: from www.enhyper.com (mailgate.enhyper.com [62.49.250.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2648043D45 for ; Mon, 24 Jan 2005 05:25:06 +0000 (GMT) (envelope-from iang@iang.org) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.enhyper.com (8.11.6/8.11.6) with SMTP id j0O5Od219770; Mon, 24 Jan 2005 05:24:46 GMT X-Authentication-Warning: www.enhyper.com: localhost.localdomain [127.0.0.1] didn't use HELO protocol Message-ID: <41F487D1.3060805@iang.org> Date: Mon, 24 Jan 2005 05:29:53 +0000 From: Ian G Organization: http://iang.org/ User-Agent: Mozilla Thunderbird 1.0 (X11/20050108) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brent Verner References: <1106332573.54288.6.camel@renaissance.homeip.net> <20050124035338.GA68489@rcfile.org> In-Reply-To: <20050124035338.GA68489@rcfile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: JDK1.5 regression from experimental to patchset 1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 05:25:07 -0000 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)