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.
Summary: | [EDT] UI becomes unresponsive when a profiled application generates significant amount of profiling data | ||
---|---|---|---|
Product: | profiler | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | Base | Assignee: | J Bachorik <yardus> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P1 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 183007 |
Attachments: | stacktrace |
Description
Petr Cyhelsky
2011-11-18 12:04:32 UTC
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. 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) |