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: | Progress UI leaks refresh timers on OSX, leading to high CPU usage | ||
---|---|---|---|
Product: | platform | Reporter: | emi <emi> |
Component: | Progress | Assignee: | t_h <t_h> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jkovalsky |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Progress UI patch to avoid the timer leaks
BTrace script that allows you to see the events being sent and relevant method calls Huge log file after btrace execution. Notice for example how the org.netbeans.modules.progress.ui.NbProgressBar@2a565e62 instance still gets animated long after discardBar is called on line #1975. BTrace log file after patch was applied. Note the silence and low number of lines: 1565 compared to over 40000 in the other log. |
Description
emi
2009-08-19 14:22:09 UTC
Created attachment 86457 [details]
Progress UI patch to avoid the timer leaks
Created attachment 86458 [details]
BTrace script that allows you to see the events being sent and relevant method calls
Created attachment 86460 [details]
Huge log file after btrace execution. Notice for example how the org.netbeans.modules.progress.ui.NbProgressBar@2a565e62 instance still gets animated long after discardBar is called on line #1975.
Created attachment 86461 [details]
BTrace log file after patch was applied. Note the silence and low number of lines: 1565 compared to over 40000 in the other log.
Tomasi, could you please review Emilian's patch and possibly integrate it if you find no problems? Thanks! Good work! Thanks for patch, integrated in core-main #fe8f96e83ea5 Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/fe8f96e83ea5 User: Tomas Holy <t_h@netbeans.org> Log: #170625: Progress UI leaks refresh timers on OSX, leading to high CPU usage |