Bug 65195 - Leakage switching from incoming to outgoing in Synch view
Summary: Leakage switching from incoming to outgoing in Synch view
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Jean-Michel Lemieux CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2004-06-01 18:12 EDT by Darin Swanson CLA
Modified: 2004-06-07 14:30 EDT (History)
1 user (show)

See Also:


Attachments
Reduced reference graph for UnchangedCompressedDiffNode (6.29 KB, text/html)
2004-06-01 18:14 EDT, Darin Swanson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2004-06-01 18:12:41 EDT
I20040529 (RC1)
I have 5 outgoing changes in three separate folders
No incoming changes

Starting in the incoming mode, using OptimizeIt, Gc'd and marked current 
instance count.
Using the toolbar button, switched to outgoing mode
Back to incoming mode
Gc'd

For each switch back and forth I see (classname | number instance leaked):
org.eclipse.jface.util.ListenerList    11
org.eclipse.team.internal.ui.synchronize.RemoteResourceTypedElement    6
org.eclipse.team.internal.ui.synchronize.SyncInfoModelElement$1  5
org.eclipse.team.internal.ui.synchronize.SyncInfoModelElement    4
org.eclipse.team.internal.ui.synchronize.UnchangedResourceModelElement 3
org.eclipse.core.internal.resources.Folder    3
org.eclipse.team.internal.ui.synchronize.CompressedFoldersModelProvider$Unchang
edCompressedDiffNode    3
org.eclipse.core.runtime.Path   3 
org.eclipse.team.internal.ui.synchronize.CompressedFoldersModelProvider$Compres
sedFolderDiffNode   1

I will attach the reduced ref graph which I believe is the root of the problem
Comment 1 Darin Swanson CLA 2004-06-01 18:14:07 EDT
Created attachment 11433 [details]
Reduced reference graph for UnchangedCompressedDiffNode
Comment 2 Jean-Michel Lemieux CLA 2004-06-07 14:30:16 EDT
Technically not a leak because it would be cleaned up the next time and element
was decorated in the tree, but I will clear the pending label updates on a mode
reset anyway. fix released to HEAD.