Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Thread dump from JWS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread dump from JWS?



On Wednesday, October 15, 2003, at 11:49 AM, Nick Howes <email@hidden> wrote:

My app seems to deadlock sometimes when launched via Java Web Start, so
I want to get a thread dump (the deadlock doesn't occur when run from a
terminal command line). I've tried sending the process SIGQUIT, but it
seems to be ignored. Anyone know of a way to do this?

I can reliably get dumps from JWS from a SIGQUIT. When I do it, the dump
gets placed on the System console (viewable with Console.app, in the folder
/Applications/Utilities).

FYI, a common deadlock I've seen when running under 1.3.1, launched from
JWS 1.2 (installed with 1.4.1) with the JVM restricted to 1.3* occurs on
the JWS console itself. If one of your app threads is writing to the
console at the same time as the Swing thread does certain updates to it,
the thing will deadlock. Don't run with a JWS console if you're using the
1.3.1 JVM on a 1.4.1 system.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.