Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do dual processor Macs have problems with Java?



Try "kill -QUIT <pid>"

This will dump to stdout (either Terminal where you launched the app, or Console if the app was bundled).

Karl

On Apr 29, 2005, at 8:23 AM, email@hidden wrote:


In a message dated 4/29/05 5:33:06 AM, Isak Styf <email@hidden>


Try running the code as "stand-alone" as possible,
 cause it to crash and then dump its thread state with
 "kill -INT <pid>" on the terminal. You can get the pid
 from the "top" command in Terminal. If you have a
 deadlock it will be shown in the crash log that will
 be generated when you interrupt the process with kill.

I was curious about this and tried it with a running Java app. It certainly did the kill, but I did not get any form of dump. Does the dump only appen if there is a deadlock? Is some other option needed to see the thread dump?


 Mike Westerfield _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
--

<Claws out, butt wiggle, butt wiggle, hunch, hunch/>
<POUNCE/>

Homepage:
     http://homepage.mac.com/khsu/index.html

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Do dual processor Macs have problems with Java? (From: email@hidden)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.