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.
There is a big execution time regression of findGlobalContextAction() method. Profiler shows me 500x worse times for the current implementation in trunk in comparison to NB351. This participates on the startup time regression we have. The method was slowed down perhaps with the version 1.30.
Created attachment 13605 [details] Snapshot of jprofiler window with the method in NB351
Created attachment 13606 [details] Snapshot of jprofiler window with the method in trunk
The cause is in the initialization of CallbackSystemAction$GlobalManager and down to o.o.windows.TopComponent.getRegistry... and down to WindowManager initialization... :-)
There is a change, that is true, but the TopComponent registry would have to be initialized anyway, even in 3.5. The time just moved from one place to another, imho. I cannot verify this, as the screenshot does not show what actually is happening under GlobalManager.getDefault(), but I belive it is not more then what would happen in another place in 35 anyway.
Correct. Anyway tracking it down I realized that WindowManager initialization now takes four times longer than in NB351. But it's a completely different story... ;-)