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.
I have a test that finishes in 25s on my computer, when I execute it under debugger, it takes at least 5min to execute (I could not wait longer). To reproduce: $ hg clone https://source.apidesign.org/hg/bck2brwsr/ $ cd bck2brwsr $ hg up -C 335691ea9714 $ mvn install -DskipTests Open rt/vm8 project in NetBeans. Choose InvokeDynamicTest and either Run File or Debug File. Compare the time difference. I am running on Kubuntu 14.04 and I have following JDK: $ java -version java version "1.8.0_11" Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode) I used most recent build of NetBeans, newer by few commits than current state on 8.0.1 release branch.
My version certainly contains 2c684310cc24, so I'd say bug 244903 has not been addressed.
Created attachment 148702 [details] Snapshot from visual vm showing what NetBeans IDE is doing during debugging
Reproduced on JDK 1.8.0 update 11. The problem disappears on JDK 1.8.0 update 20 build 23. The test generates a lot of classes like Script$\^eval\_$92 When run on 1.8.0_11, it uses the old approach binding JS sources to classes and receives many ClassPrepareRequests. On Update 20 we uses a more efficient approach after the fix of issue #244903. Please use update 20 or newer.