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 77982 - Startup regression 200606140200-200606150200
Summary: Startup regression 200606140200-200606150200
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-06-15 12:54 UTC by Marian Mirilovic
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Complex Startup (34.26 KB, image/png)
2006-06-15 12:55 UTC, Marian Mirilovic
Details
Complex NB project Startup (38.33 KB, image/png)
2006-06-15 12:56 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2006-06-15 12:54:47 UTC
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  %
Comment 1 Marian Mirilovic 2006-06-15 12:55:49 UTC
Created attachment 31072 [details]
Complex Startup
Comment 2 Marian Mirilovic 2006-06-15 12:56:10 UTC
Created attachment 31073 [details]
Complex NB project Startup
Comment 3 Marian Mirilovic 2006-06-15 13:09:45 UTC
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


Comment 4 Marian Mirilovic 2006-06-21 14:37:41 UTC
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.
Comment 5 Jan Becicka 2006-06-21 16:19:36 UTC
Dan is working on it.
Comment 6 Daniel Prusa 2006-06-22 09:50:29 UTC
The problem needs to be fixed in javacore / class updater.
Comment 7 Daniel Prusa 2006-06-27 10:20:26 UTC
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
Comment 8 Jan Becicka 2006-06-27 10:36:07 UTC
Fixed in trunk
Comment 9 Daniel Prusa 2006-06-27 14:14:23 UTC
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
Comment 10 Marian Mirilovic 2006-06-29 15:13:18 UTC
verified in 
NB 5.5 (200606290200)
NB dev (200606271800)
Comment 11 Quality Engineering 2007-09-20 09:57:54 UTC
Reorganization of java component