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: Alarming SwingUtilities.invokeLater Problem in OS 9



On 15-Aug-05, at 1:54 PM, Michael Hall wrote:

On Aug 15, 2005, at 2:39 PM, Doug Zwick wrote:

What is alarming is that
MRJ 2.2 seems to allow two of these runnables to execute at once, from different threads,
which leads to the deadlock we are seeing.

Have you tried using the MRJ dcmd with MacsBug, dropping into the debug monitor and see if that tells you anything useful? There were one or two things pertinent to stack crawls and monitor locks as I remember. There was a pertinent Tech Note quite a while back, on MacsBug and MRJ with info on the dcmd. The classic version of my application used to support using it directly from a running java application. That was based on some code from JShell.
MRJ was timesliced threading about the only other thing I'm remembering that might apply.

I used the MRJ DCMD to produce the stack traces I posted. It also showed my which monitors were held by the threads, and that let me determine that AWT-Dispatch-Proxy was waiting on a monitor held by AWT-EventQueue-0. I will try and find that tech note and re-read it, its been a while. Thanks for the reminder that it exists. _______________________________________________ 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: 
 >Alarming SwingUtilities.invokeLater Problem in OS 9 (From: Doug Zwick <email@hidden>)
 >Re: Alarming SwingUtilities.invokeLater Problem in OS 9 (From: Michael Hall <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.