Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for January 2006

Tom Hawtin

Thomas Hawtin's Weblog

Detecting invokeAndWait abuse - January 20, 2006

An apparently lesser known fact about EventQueue.invokeAndWait is that it can cause deadlocks. I suppose the reasons are a little subtle, but the result is not. Your desktop might not be going to Pluto, but there's no need to be all Mickey Mouse about it. Just the other day JEdit hung on me. I took jstack to it, but there were no deadlocks detected. There was, however, a use of invokeAndWait. Sure enough the EDT was waiting on monitor locked by the thread calling invokeAndWait. See the bug...
http://www.jroller.com/tackline/entry/detecting_invokeandwait_abuse
Available Archives
- January (1 item)
- February (3 items)
- March (1 item)
- April (3 items)
- May (1 item)
- June (1 item)
- August (2 items)
- October (1 item)
- November (10 items)
- December (9 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact