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 143590 - Leak due to wrong cleanup of visHolder
Summary: Leak due to wrong cleanup of visHolder
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL:
Keywords: PERFORMANCE, TEST
: 147835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-12 10:52 UTC by Jaroslav Tulach
Modified: 2008-12-22 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch against e6d2bff1edc0 to enable the failure (plus bunch of others) (764 bytes, patch)
2008-08-12 10:54 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2008-08-12 10:52:06 UTC
Looks like the ide.kit/**/MemoryValidationTest.java test cannot release projects because they are held by explorer's 
visHolder cache. This is surprising, as explorer is empty:


private static java.util.Map org.netbeans.modules.project.ui.ProjectTab.tabs->
java.util.HashMap@1802cf6-table->
[Ljava.util.HashMap$Entry;@3056ca-[12]->
java.util.HashMap$Entry@769282-value->
org.netbeans.modules.project.ui.ProjectTab@10e3a00-btv->
org.netbeans.modules.project.ui.ProjectTab$ProjectTreeView@12aa1ce-visHolder->
java.util.HashSet@f3c443-map->
java.util.HashMap@14cdb51-table->
[Ljava.util.HashMap$Entry;@e3dba8-[7]->
java.util.HashMap$Entry@de3762-key->
org.openide.explorer.view.VisualizerChildren@3b55a5-parent->
org.openide.explorer.view.VisualizerNode@1b74002-node->
org.openide.nodes.FilterNode@16ed1e0-original->
org.netbeans.modules.java.j2seproject.ui.SourceNodeFactory$PackageViewFilterNode@62bb91-project->
org.netbeans.modules.java.j2seproject.J2SEProject@1506a1e
Comment 1 Jaroslav Tulach 2008-08-12 10:54:31 UTC
Created attachment 67131 [details]
Patch against e6d2bff1edc0 to enable the failure (plus bunch of others)
Comment 2 t_h 2008-10-03 16:42:57 UTC
508e8e402302
Comment 3 Quality Engineering 2008-10-04 09:24:00 UTC
Integrated into 'main-golden', will be available in build *200810040600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/508e8e402302
User: Tomas Holy <t_h@netbeans.org>
Log: #146780 #143590: Leak due to wrong cleanup of visHolder
Comment 4 Petr Hejl 2008-10-07 16:51:52 UTC
*** Issue 147835 has been marked as a duplicate of this issue. ***