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.
Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Mac OS X User Comments: GUEST: <Please provide a description of the problem or the steps to reproduce> I'm just compiling c++ code. williambacchi: activating java fx and setting a wrong scenebuilder home Maximum slowness yet reported was 64795 ms, average is 34415
Created attachment 145585 [details] nps snapshot
EDT calls org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially() in a very long loop, further investigation needed.
a sequence: at org.netbeans.modules.cnd.makeproject.MakeActionProvider.invokeAction(MakeActionProvider.java:349) at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:186) at org.openide.util.Mutex.doEvent(Mutex.java:1348) at org.openide.util.Mutex.writeAccess(Mutex.java:462) at org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:183) at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:202) seems to be repeated recursively many times - resulting in a deep stack and calling progressutils many times but in one AWT cycle -> no wonder the AWT gets stuck
It seems user selected about 50 projects and invoke clean & build on selection.
Created attachment 155944 [details] proposed patch
(In reply to Alexander Simon from comment #5) > Created attachment 155944 [details] > proposed patch I'll have a (more thorough) look. The bug seems worth fixing: lots of duplicate reports, quite a long EDT freezes in some of them. What confuses me a bit in the proposed solution is - the overall complexity - the fact that now if I invoke build for 50 projects UI won't freeze, but user will get these "Preparing to build" dialogues from time to time (quite unexpectedly)
Created attachment 155959 [details] proposed patch, variant 2
Created attachment 161365 [details] refresh patch
fixed, change set:http://hg.netbeans.org/cnd-main/rev/403692127dfb
Integrated into 'main-silver', will be available in build *201607230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/403692127dfb User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #242340 org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventThreadCustomDialogImpl: LowPerformance took 64795 ms.