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.
This bug was originally marked as duplicate of bug 237443, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13 OS: Windows 7 User Comments: GUEST: Just working with 4 maven projects. Netbeans performance is terribly slow.I tried to improve it by setting GC options -J-XX:+UseParallelGC -J-XX:+UseAdaptiveSizePolicy -J-XX:CompileThreshold=100 -J-Dsun.java2d.opengl=true but the attempt has no result. I think you have some architectural omission. For example, if I have maven pom project with about 100000 HTML resources (html, pictures, css, etc) , why you scanning these files continuously!? Maximum slowness yet reported was 29238 ms, average is 29238
Created attachment 157404 [details] nps snapshot
The JaaContextSupport.resolveContext() calls JavaSource.runWhenScanFinished() in EDT. The JS.rWSF does parsing and should not be called in EDT.
Fixed at enum: 305594:7fbc48da27cb and 305632:fdd8b83e6c4e
Integrated into 'main-silver', will be available in build *201601230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/339116ef7677 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixing #256679 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 29238 ms (transplanted from 7fbc48da27cb1e4c37664288166d99964ea68be4)
Fixes of this bug: http://hg.netbeans.org/releases/rev/7fbc48da27cb http://hg.netbeans.org/releases/rev/74df27300344
Integrated into 'main-silver', will be available in build *201601280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5a069130c5b1 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #256679 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 29238 ms (transplanted from 74df27300344a53161980a70d4a844ccd9fa363c)
*** Bug 256380 has been marked as a duplicate of this bug. ***