This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Invoking Close Project during opening projects blocks AWT | ||
---|---|---|---|
Product: | javaee | Reporter: | Jesse Glick <jglick> |
Component: | Web Project | Assignee: | David Konecny <dkonecny> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | davti, jis, max_jr, wangcll, wibio |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=159901 | ||
Issue Type: | DEFECT | Exception Reporter: | 159901 |
Attachments: |
nps snapshot
Thread dump - one Maven project opened (Glassfish) and attempting to close another JavaApplication |
Description
Jesse Glick
2009-10-09 18:53:00 UTC
Created attachment 89219 [details]
nps snapshot
Most of the time spent in apisupport, please evaluate. Thanks. Just reported http://statistics.netbeans.org/analytics/exception.do?id=291407. Took 28251 ms, this is not a P3 problem - it makes the user think the IDE is deadlocked and must be restarted. What about just removing the "Close" action during the initialization if the performance is not easy to/cannot be improved? The result will be the same as invoking "Close" after initialization except that EDT won't be blocked. The problem is that closing projects runs in AWT thread and waits for projects to be loaded first in background. Formal fix would be close projects in background too, but it doesn't really save any user's time - he still needs to wait for all the projects to be loaded and then to be closed. Better would be to really cancel loading projects that weren't loaded yet - don't know how big a change would that be. *** Issue 174398 has been marked as a duplicate of this issue. *** Created attachment 91903 [details]
Thread dump - one Maven project opened (Glassfish) and attempting to close another JavaApplication
At least recent snapshots seem to be about web projects doing a lot of work when opened. Perhaps some of it could be avoided or deferred. No reports since 6.8. Likely fixed. |