Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 124712 - Memory leak in projects bagging node
Memory leak in projects bagging node
Status: RESOLVED FIXED
Product: projects
Classification: Unclassified
Component: Generic Projects UI
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Jaroslav Tulach
issues@projects
perfleak
: PERFORMANCE, TEST
Depends on:
Blocks: 121855
  Show dependency treegraph
 
Reported: 2008-01-04 15:07 UTC by Jaroslav Tulach
Modified: 2008-01-16 15:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2008-01-04 15:07:38 UTC
After running test described in issue 121855 one gets following leaks:


private static org.netbeans.modules.project.ui.OpenProjectList 
org.netbeans.modules.project.ui.OpenProjectList.INSTANCE->
org.netbeans.modules.project.ui.OpenProjectList@9f7eb2-pchSupport->
java.beans.PropertyChangeSupport@cc0176-listeners->
sun.awt.EventListenerAggregate@32b11a-listenerList->
[Ljava.beans.PropertyChangeListener;@1be76e1-[10]->
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren@dfa6f0-array->
org.openide.nodes.Children$1@d0038d-val$chArr->
org.openide.nodes.ChildrenArray@1e441ae-map->
java.util.WeakHashMap@177f2b2-table->
[Ljava.util.WeakHashMap$Entry;@1eba9b2-<changed>->
java.util.WeakHashMap$Entry@1b31b4f-<changed>->
java.util.LinkedList@122cf0d-header->
java.util.LinkedList$Entry@174b787-next->
java.util.LinkedList$Entry@1bee096-element->
org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode@42b160-original->
org.netbeans.modules.project.ui.PhysicalView$GroupNode@165c549-project->
org.netbeans.modules.java.j2seproject.J2SEProject@1ad37f6



private static java.util.Map org.netbeans.modules.project.ui.ProjectTab.tabs->
java.util.HashMap@43ee51-table->
[Ljava.util.HashMap$Entry;@1261d21-[10]->
java.util.HashMap$Entry@d6e3dc-value->
org.netbeans.modules.project.ui.ProjectTab@12ccf48-manager->
org.openide.explorer.ExplorerManager@1686df8-exploredContext->
org.openide.loaders.DataFolder$ClonedFilter@1b45d3d-parent->
org.openide.nodes.ChildrenArray@8279d-children->
org.openide.nodes.FilterNode$Children@4373a5-parent->
org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode@18297f2-listeners->
org.openide.nodes.Node$LookupEventList@120958-lookup->
org.openide.util.lookup.ProxyLookup@bd0c46-lookups->
[Lorg.openide.util.Lookup;@2c0157-[1]->
org.openide.util.lookup.SimpleLookup@1821a99-allItems->
java.util.ArrayList@560fc0-elementData->
[Ljava.lang.Object;@9962c0-[0]->
org.openide.util.lookup.InstanceContent$SimpleItem@1b25938-obj->
org.netbeans.modules.java.j2seproject.J2SEProject@1ad37f6
Comment 1 Milan Kubec 2008-01-07 13:04:36 UTC
Jardo, please evaluate the second trace. Thanks.
Comment 2 Jaroslav Tulach 2008-01-16 15:53:46 UTC
Fixing the second reference chain. The first one was said to be false because of "<changed>" fields in the report, 
according to Petr Nejedlý.


IDE:-------------------------------------------------
IDE: [16.1.08 16:52] Committing started
Checking in src/org/openide/explorer/ExplorerManager.java;
/shared/data/ccvs/repository/openide/explorer/src/org/openide/explorer/ExplorerManager.java,v  <--  
ExplorerManager.java
new revision: 1.15; previous revision: 1.14
done
Checking in test/unit/src/org/openide/explorer/ExplorerManagerTest.java;
/shared/data/ccvs/repository/openide/explorer/test/unit/src/org/openide/explorer/ExplorerManagerTest.java,v  <--  
ExplorerManagerTest.java
new revision: 1.7; previous revision: 1.6
done
IDE: [16.1.08 16:52] Committing finished


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo