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 - TreeLoader does not dump sig files
Summary: TreeLoader does not dump sig files
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2014-07-24 08:57 UTC by Tomas Zezula
Modified: 2014-07-30 02:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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