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.
During processing of menu warmup task VCS support creates DOM documents. This is not a bug from user's point of view but wastes resources. DOM related classes have to be loaded and initialized and it is likely that custom SAXParser can do better work than building of full DOM tree. Ideally we can get rid of all usages of DOM.
Created attachment 12620 [details] thread dump snapshot after startup during warmup
Well, VCS commands defined in XML are parsed using DOM tree, because it's easier to implement. VCS commands can form hierarchical structures, therefore DOM is ideal for that purpose. We would need to evaluate how hard it would be to use SAX instead.
This is actually a duplicate of issue #38108. *** This issue has been marked as a duplicate of 38108 ***