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.1 RC1 (Build 201111171527) VM: Java HotSpot(TM) Client VM, 21.0-b18, Java(TM) SE Runtime Environment, 1.7.0-b148 OS: Windows 7 Stacktrace: org.netbeans.lib.profiler.client.ClientUtils$TargetAppOrVMTerminated: Target JVM inactive at org.netbeans.lib.profiler.ProfilerClient.checkForTargetVMAlive(ProfilerClient.java:1521) at org.netbeans.lib.profiler.ProfilerClient.getCPUProfilingResultsSnapshot(ProfilerClient.java:492) at org.netbeans.modules.profiler.ResultsManager.prepareSnapshot(ResultsManager.java:694) at org.netbeans.modules.profiler.ResultsManager.prepareSnapshot(ResultsManager.java:669) at org.netbeans.modules.profiler.ResultsManager.takeSnapshot(ResultsManager.java:837) at org.netbeans.modules.profiler.ProfilerControlPanel2$ResultsSnippetPanel$2.run(ProfilerControlPanel2.java:771)
Created attachment 113312 [details] stacktrace
This is a side-effect of EDT being completely hogged by the profiler CPU flat data generation. The profiled application generates a significant amount of profiling data and is sending it to the client for processing. A huge amount of the processing is done on EDT (mistake, but not easily fixed now) and, additionally, locks some resources required for receiving the profiling data from the target application leading to even more "data bursts" resulting in completely dead "UI".
Fixing the processing logic to ignore non-requested data batches for creating CPU CCT flat data. http://hg.netbeans.org/profiler-main/rev/f48cfb1b89c5 http://hg.netbeans.org/profiler-main/rev/306357f1525c
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/f48cfb1b89c5 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #205287: CPU CCT flat profile must be generated only for the requested profiling data
verified on: Product Version: NetBeans IDE Dev (Build 201111230600) Java: 1.7.0_02; Java HotSpot(TM) 64-Bit Server VM 22.0-b10 System: Linux version 2.6.38-12-generic running on amd64; UTF-8; en_US (nb)
Fix reviewed. It can be merged to release71 branch.
http://hg.netbeans.org/releases/rev/1999dac2d622 http://hg.netbeans.org/releases/rev/243bf872ba13
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/243bf872ba13 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #205287: CPU CCT flat profile must be generated only for the requested profiling data (transplanted from f48cfb1b89c5dae09367d2d4498809585621ee7f)