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 37194

Summary: It's impossible measure startup time
Product: platform Reporter: Marian Mirilovic <mmirilovic>
Component: -- Other --Assignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: blocker CC: rkubacki
Priority: P2 Keywords: PERFORMANCE, T9Y
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.r java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.run())' but expecting 'Main window initialization';

Description Marian Mirilovic 2003-11-13 11:02:03 UTC
Startup time measuring fails (see attached stack
trace)
Comment 1 Marian Mirilovic 2003-11-13 11:02:53 UTC
Created attachment 12140 [details]
java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.r
java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.run())' but expecting 'Main window initialization';
Comment 2 _ rkubacki 2003-11-14 13:51:17 UTC
http://core.netbeans.org/source/browse/core/src/org/netbeans/core/Main.java.diff?r1=1.175&r2=1.176
I modified logging to call logStart and logEnd from the same thread.
Also the startup time is measured from AWT when winsys init is
completed now instead of the end of o.n.c.Main.start() that finishes
earlier. Not the best fix but should run now.
Comment 3 Marian Mirilovic 2003-11-25 17:44:17 UTC
Radim thanks, verified.