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.
Created attachment 131352 [details] Stack traces of startup while project loading was active, and then once background scanning started While doing some startup tuning and testing I caught the attached set of stack traces which show the EDT being used for explict calls to class loading. This makes startup block certain GUI activities and creates a slow and clunky startup. Some of these things should be done on separate threads to take advantage of multiple cores as well.
Hello, I am sorry but we cannot avoid all classloading from EDT. Some Swing code needs to be done in AWT thread and when such code needs classes that were not loaded previously they get loaded. We cannot tell in advance what are all the classes that we will need to have loaded. I am closing this report as won't fix. If some situation is a real blocker for the user please use the automatic slowness reporting feature of the IDE to report cases when something takes unacceptably long and blocks the user. Br, David