Summary: | Memory leak in PerformanceStats | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Runtime | Assignee: | John Arthorne <john.arthorne> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P2 | CC: | john.arthorne, Tod_Creasey | ||||
Version: | 3.1 | Keywords: | performance | ||||
Target Milestone: | 3.1 M7 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Markus Keller
2005-04-20 12:29:53 EDT
Created attachment 20136 [details]
Screenshot
Oh I'd love to resolve this IRONIC. :) Stats are also held onto at the runtime level (PerformanceStats.statMap). To avoid this we would need to completely avoid holding blame objects. Note that in the release version, stats will be turned off and the performance view will be removed, so this isn't a major problem. On the mac, at least, the performance view fails the "view activation" test quite frequently. This does seem rather bogus. Fixed. Stats objects no longer hold onto the blame object directly. They now hold only a string representation of the object's class, and the id of the blame's plugin. This is all the information we need from the blame object. That was quite a memory leak! |