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.
The JavaTypeProvider creates lots of useless slow FileObjects which causes significant delay when Go To Type is used for first time after IDE start.
Info from David's log files: Go to type for the first time took 10s after IDE start and in other invocations less than 3s. 1) The filesystem is cold, so the first access to the lucene indexes takes longer time (2-3s), we can't probably do anything with this. 2) Even more time is spent in the call of ClassPath.getRoots(), something about 6s, I will rewrite it to use URLs.
http://hg.netbeans.org/main/rev/82ac8e19a14c
Integrated into 'main-golden', will be available in build *200810160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/82ac8e19a14c User: Tomas Zezula <tzezula@netbeans.org> Log: #150192:JavaTypeProvider creates useless FileObjects
This issue has lower priority then P2, please enclose the evaluation why this fix should be a part of 65patch1. Thanks
justification of patch: There was lot's of complaints about performance of Go To Type feature, this fix improves it.
v.
The fix has been backported into release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/41c07306834f
verified in patch