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.

Bug 165188 - NB UI freezes when CPU Time table is open
Summary: NB UI freezes when CPU Time table is open
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-05-14 16:06 UTC by Alexander Pepin
Modified: 2009-05-18 17:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2009-05-14 16:06:47 UTC
This issue is not about Freeway sample. It was taken only to get pretty big amount of profiling data.

Steps to reproduce:
- create Freeway sample
- set SunStudio data provider
- run the project
- wait until the application window appears
- call Start
- play with sliders (Gap... & Time...)
- quit the application
- click on CPU indicator to call CPU Time table
- try to do anything with the CPU table (click on function or scroll the table)
Result: All UI components of IDE freeze for some time (up to minute), mouse cursor is moving roughly with delays.
Probably it's caused by implementing filtering in issue #164720
Comment 1 Alexey Vladykin 2009-05-14 16:47:36 UTC
I guess NB is resolving source file locations for all functions in the list. Will take a closer look.
Comment 2 Maria Tishkova 2009-05-14 17:01:00 UTC
Alexey, you are right, this introduced in my changes http://hg.netbeans.org/cnd-main?cmd=changeset;node=0fc336fbe428
We can revert changes and do not grey out functions we do not have source info about.
The problem described in http://www.netbeans.org/issues/show_bug.cgi?id=165159 is introduced with the same revision.
I will fix both problems tomorrow
Comment 3 Alexey Vladykin 2009-05-14 17:03:23 UTC
I've optimized DwarfSourceInfoProvider today in changeset http://hg.netbeans.org/cnd-main/rev/4a324abf9f45.
I suspect this provider was the reason for heavy CPU load that you see.
Please try again after this changeset gets into nightly build.
Comment 4 Alexey Vladykin 2009-05-15 16:55:51 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/d2e85986774e
Source file locations are still being resolved in background and some CPU load takes place, but it should not have such
significant impact on NetBeans UI any more.
Comment 5 Quality Engineering 2009-05-16 08:58:39 UTC
Integrated into 'main-golden', will be available in build *200905160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d2e85986774e
User: Alexey Vladykin <alexey_vladykin@netbeans.org>
Log: #165188 NB UI freezes when CPU Time table is open
Comment 6 Alexander Pepin 2009-05-18 17:30:27 UTC
verified in build 200905180201