Community
Participate
Working Groups
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
Created attachment 11433 [details] Reduced reference graph for UnchangedCompressedDiffNode
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.