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 36532 - Memory Leak in the TreeView
Summary: Memory Leak in the TreeView
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-10-10 10:13 UTC by Tomas Zezula
Modified: 2008-12-22 20:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (4.04 KB, patch)
2003-10-10 10:25 UTC, Tomas Zezula
Details | Diff
Fixes both usages (8.67 KB, patch)
2003-10-14 12:23 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2003-10-10 10:13:33 UTC
Insane output:
java.lang.SecurityManager.rootGroup->
java.lang.ThreadGroup@21->
[Ljava.lang.Thread;@184->
java.lang.Thread@31e->
sun.awt.motif.MToolkit$2@598->
sun.awt.motif.MToolkit@905->
java.awt.Toolkit$ToolkitEventMulticaster@d16->
java.awt.Toolkit$SelectiveAWTEventListener@13ed->
org.netbeans.core.windows.frames.SplitContainerImpl@1ec6->
org.netbeans.core.windows.WindowManagerImpl@3409->
org.netbeans.modules.projects.ide.ui.workplace.WorkplaceTab@4ba1->
org.openide.explorer.view.BeanTreeView@5f51->
org.openide.explorer.view.TreeView$TreePropertyListener@6f61->
org.openide.util.RequestProcessor$Task@843e->
org.openide.explorer.view.TreeView$5@a1cd->
javax.swing.tree.TreePath@c2f8->
javax.swing.tree.TreePath@e48e->
javax.swing.tree.TreePath@10acc->
org.openide.explorer.view.VisualizerNode@1312e->
org.netbeans.api.nodes2looks.LookNode@152fb->
org.netbeans.api.nodes2looks.LookNode$FirerImpl@17e13->
org.netbeans.modules.projects.ide.ui.logicalview.LogicalView$SourcesMarkClass@1a873->
org.netbeans.api.projects.Project@17e85
Comment 1 Tomas Zezula 2003-10-10 10:25:59 UTC
Created attachment 11831 [details]
Patch
Comment 2 Tomas Zezula 2003-10-14 12:23:02 UTC
Created attachment 11851 [details]
Fixes both usages
Comment 3 Petr Hrebejk 2003-10-15 12:18:29 UTC
There could be better fix which would clean the task. But this seems to
be clean so let's fix it with the patch for now.
Comment 4 Jesse Glick 2003-10-15 17:20:50 UTC
BTW I will be patching TreeView differently in nodes_eq_35833 to not
use RequestProcessor for the tree expansion, but probably
javax.swing.Timer; I will try to retain the intent of phrebejk's patch.
Comment 5 Jesse Glick 2003-10-15 17:21:09 UTC
Target milestone!
Comment 6 Marian Mirilovic 2004-02-24 07:53:11 UTC
verified - closed (projects are dead )