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.
Discovered while investigating issue #225419 that these snapshots belongs to this area. The snapshots can be found in Exception Report URL, please evaluate them, thanks. snapshot-654706: org.netbeans.modules.java.j2seproject.J2SEProject.createLookup() 45.96735 1 683 ms (46%) 1 664 ms snapshot-676848: org.netbeans.api.project.ProjectManager.findProject() 68.050476 16 535 ms (68,1%) 16 376 ms FoD calls it and J2SE and Glassfish do something, not sure if it is OK or not. snapshot-660975: org.netbeans.spi.java.project.support.ui.SharableLibrariesUtils.execute() 99.98184 10 667 ms (100%) 709 ms It calls org.netbeans.core.windows.services.DialogDisplayerImpl.notify() under write mutex.
snapshot-654706 in fact invalid from java project point of view: OpenProjectList holds the writeLock. snapshot-676848 invalid as well, the WM is required by J2SELTP writing the libs classpath. snapshot-660975 fixed jet-main f562e2271096. Anyway from my point of view the problem is not in holding the WL but reading the data under RL from EDT.
Adding Miloš to CC, see Tomáš's last comment. Thanks.
In reply to comment #2. I will create a separate issue and I am working on fix.
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f562e2271096 User: Tomas Zezula <tzezula@netbeans.org> Log: #232269:Slowness detected