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.
ObjectBrowser.<init> invokes initComponent. Which takes about 10% of main thread during startup - or 5% of startup totaly.
Created attachment 1233 [details] dump from a profiler
Target milestone -> 3.3
Fixed in main trunk, static init moved to lazy
Marked as fixed
The fix of #14155 (between ObjectBrowser.java,v1.31 and v1.32) caused this problem to reappear.
Created attachment 2268 [details] Proposed patch
The patch moves the initialization from TC.open() to addNotify() It seems to work and can be used directly, but generally preffered solution is to switch the module workspace/mode definition to XML layer FS, which will postpone TC.open() up to switch to the Browsing workspace. The fix of #14115 caused startup time/class#/memory regression quite visible on the performance graphs, thus increasing priority.
Fixed, used a bit different patch - let the original code stay in componentActivated and do only the initialization in addNotify().
x