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.
Our performance test started measure regression on Complex startup (measured for Java Application project as well as for NB project). First and subsequent startups are fine. Comparison between builds 200606061800 and 200606071800: Linux Win2K WinXP WinXP-JDK6.0 Startup Time with 10 opened java files 56 % 51 % 51 % 52 % Startup Time with opened NB project 59 % 52 % 52 % 48 %
Created attachment 31072 [details] Complex Startup
Created attachment 31073 [details] Complex NB project Startup
If you compare logs of both startup tests : On Linux : old (200606140200) @16603 - Security managers installed dT=170 new (200606150200) @22112 - Security managers installed dT=5821 On Windows : the same problem as reported in issue 77558, the root is repeatedly repainted NbProgressBar. So from this point of view, next changes could be related : http://www.netbeans.org/source/browse/java/javacore/src/org/netbeans/modules/javacore/scanning/ClassUpdater.java?r1=1.11&r2=1.11.34.1 http://www.netbeans.org/source/browse/java/javacore/src/org/netbeans/modules/javacore/scanning/FileScanner.java?r1=1.26&r2=1.26.28.1 http://www.netbeans.org/source/browse/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/AnnotationImpl.java?r1=1.19.4.5.2.4&r2=1.19.4.5.2.5
Ok, the root cause of this regression is that we are now measuring rescan of some jars/files after restart of the IDE with opened editor. This appears after fix of issue 73679.
Dan is working on it.
The problem needs to be fixed in javacore / class updater.
Fixed in trunk. /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/FeatureImpl.java new revision: 1.53; previous revision: 1.52 /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java new revision: 1.71; previous revision: 1.70 /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/ClassUpdater.java new revision: 1.14; previous revision: 1.13 /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/FileScanner.java new revision: 1.28; previous revision: 1.27
Fixed in trunk
Fix merged into release55. /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/ClassUpdater.java new revision: 1.11.34.2; previous revision: 1.11.34.1 /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/FeatureImpl.java new revision: 1.45.2.3.2.1; previous revision: 1.45.2.3 /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java new revision: 1.62.2.4.2.1; previous revision: 1.62.2.4 /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/FileScanner.java new revision: 1.26.28.2; previous revision: 1.26.28.1
verified in NB 5.5 (200606290200) NB dev (200606271800)
Reorganization of java component