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 245935

Summary: TreeLoader does not dump sig files
Product: java Reporter: Tomas Zezula <tzezula>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: ecerichter
Priority: P2 Keywords: PERFORMANCE, REGRESSION
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Zezula 2014-07-24 08:57:13 UTC
TreeLoader does not dump sig files causing that trees are loaded each time parameter names are needed not just once per user dir existence.
The tree loading significantly slowdowns java editor features like navigator, code completion on types coming from rt.jar or other jar which has no parameter names in class files.

The problem is caused by FileManagerTransaction.NullWrite assigned to javac in the ClasspathInfo when it's created outside real indexing transaction.
Comment 1 Tomas Zezula 2014-07-24 08:59:45 UTC
Fixed jet-main 47a1e4083a50
Comment 2 Quality Engineering 2014-07-30 02:33:07 UTC
Integrated into 'main-silver', will be available in build *201407300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/47a1e4083a50
User: Tomas Zezula <tzezula@netbeans.org>
Log: #245935:TreeLoader does not dump sig files