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 168373 - Evaluator, moduleJarLocation, ${cluster} problem; 52 sec pause
Summary: Evaluator, moduleJarLocation, ${cluster} problem; 52 sec pause
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-07-09 20:38 UTC by Jesse Glick
Modified: 2010-03-13 02:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153545


Attachments
nps snapshot (15.57 KB, bin/nps)
2009-07-09 20:38 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-07-09 20:38:29 UTC
Build: NetBeans IDE Dev (Build 090708)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments:
jglick: Invoked code completion on AssertionFailedError from a unit test in o.apache.tools.ant.module.


Maximal alredy reported slowness was 52423 ms, average is 52423
Comment 1 Jesse Glick 2009-07-09 20:38:35 UTC
Created attachment 84568 [details]
nps snapshot
Comment 2 Jesse Glick 2009-07-09 20:46:35 UTC
Spent time loading module list, in order to find moduleJarLocation. Perhaps Evaluator should be able to evaluate
${cluster} without loading the module list. On the other hand, the project was open, so I don't know why the module list
was not already loaded.
Comment 3 Jesse Glick 2010-03-11 12:35:37 UTC
Not clear what's going on. EQ is not blocked. RP is blocked for 52 sec in loadNetBeansOrgCachedModuleList but for no clear reason; 13 calls to File.lastModified should not take 46 sec.

Can probably just delete apisupport.project support for the module list cache. Bug #173109 makes it less useful, and anyway it usually did not match. core-main #0ae986d3e48e
Comment 4 Quality Engineering 2010-03-13 02:01:51 UTC
Integrated into 'main-golden', will be available in build *201003130200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0ae986d3e48e
User: Jesse Glick <jglick@netbeans.org>
Log: #168373: removing loadNetBeansOrgCachedModuleList; probably slower to check cache validity than to load incrementally anyway.