UI Freezes [message #248427] |
Fri, 08 February 2008 10:31 |
Eclipse User |
|
|
|
I have noticed something that happens to my application's GUI when
launched from Eclipse: the UI freezes. In this case 90% or more of the
time I launch the UI freezes, usually within the first 20 - 30 seconds of
launch - if it get that far it's OK for the rest of the session. The rest
of the applications seems to continue running fine, it's just the UI
that's hooped.
When I launch the application without Eclipse the problem almost never
happens.
What's even more interesting is this behavior is not consistent. I can
literally go for weeks, or months and there's no problem, then some days
or weeks we're back to 90% launch failures. Needless to say my vocabulary
turns to the dark side at these times.
http://www.osnews.com/images/comics/wtfm.jpg
My suspicion is that something is blocking the EDT, but I'm not sure how
to find out. I have a background thread running that checks for deadlocks
and it continues to run after the UI freezes, reporting there are no
deadlocks. So if something is blocking the EDT I'm not sure what.
My questions is what is different about launching an application from
eclipse than from just running it stand-alone? More specifically is there
anything which can cause the EDT to block?
This problem does not happen just to me, several of my co-workers have
noted the same thing, but not to the extent I have.
|
|
|
Powered by
FUDForum. Page generated in 0.07541 seconds