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.

Bug 170858 - 32s in refresh of MainProjectAction
Summary: 32s in refresh of MainProjectAction
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
: 198246 205523 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-25 09:42 UTC by jmichelberger
Modified: 2012-06-01 13:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156766


Attachments
nps snapshot (13.60 KB, bin/nps)
2009-08-25 09:42 UTC, jmichelberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmichelberger 2009-08-25 09:42:26 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3779-on-090820)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86
Maximum slowness yet reported was 32642 ms, average is 32642
Comment 1 jmichelberger 2009-08-25 09:42:40 UTC
Created attachment 86607 [details]
nps snapshot
Comment 2 Milan Kubec 2009-09-08 14:25:09 UTC
IMO most of the time spent in IO operations. Please re-evaluate. Thanks.
Comment 3 Jaroslav Tulach 2009-09-09 07:08:00 UTC
Clearly, the calls are initiated from MainProjectAction as a reaction to switching of tabs. While tabs have to be 
switched in AWT thread, there is not much reasons why MainProjectAction would have to refresh its state in the same 
thread. It may do this outside of AWT. Otherwise we risk that calls to ActionProvider's will take really long time 
(like in this case the calls to SuiteActions do).
Comment 4 Milan Kubec 2009-10-02 12:54:23 UTC
Lowering priority of this issue, since it's only one single report and majority of the time is spent in simple native
filesystem call.
Comment 5 Antonin Nebuzelsky 2010-03-29 14:11:08 UTC
Change of default owner.
Comment 6 Jesse Glick 2012-03-26 23:12:13 UTC
*** Bug 205523 has been marked as a duplicate of this bug. ***
Comment 7 Jesse Glick 2012-03-26 23:22:56 UTC
*** Bug 198246 has been marked as a duplicate of this bug. ***
Comment 8 Petr Cyhelsky 2012-06-01 08:15:45 UTC
Last report came from 7.1 RC2 - seems to be fixed, please reopen if it occurs again