| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi,
re: Inexplicable deadlock or hang when
calling SwingUtilities.invokeLater(Runnable
r).
Everyone knows about Swing
thread-safety issues that can cause hangs & deadlocks. They are often
solved by using SwingUtilities.invokeLater.
But, strangely, I'm getting
reproducible hangs & deadlocks calling that very same function: SwingUtilities.invokeLater(Runnable r).
The runnable is never invoked, and the
function never returns. CPU usage is nil, the application gets tagged as
"not responding" and must be force quit.
1. No hard crash occurs.
2. This happens about 50% of the
time calling the exact same code.
3. The code is being called from
a user thread (new Thread().start()...), not the Swing thread.
4. It doesn't matter what the
code in the Runnable() is.
java.version: 1.4.2_09
java.vm.version: 1.4.2-54
os version: 10.4.3
1.8 ghz powerpc g5, patched
today.
Any ideas? All help
appreciated.
Charles.
|
_______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.