Community
Participate
Working Groups
build I20040318 + latest from HEAD - close all editors - Window > New Window - close the first window There are still 2 EditorPresentations around. Apparently it's not unhooking its property change listener on the preference store. The refs to ExtensionCommandRegistry and CommandManager in the graph below are red herrings. The starting point is really the AbstractUIPlugin$CompatibilityPreferenceStore. All GC Roots -> org.eclipse.ui.internal.presentations.EditorPresentation #149815: Direct Paths | +---org.eclipse.core.internal.registry.Extension (#57280) [Java Frame] | +---parent org.eclipse.core.internal.registry.BundleModel (#57513) | +---parent org.eclipse.core.internal.registry.ExtensionRegistry (#5123) | +---listeners java.util.HashMap (#5235) | +---table java.util.HashMap$Entry[16] (#5325) | +---[3] java.util.HashMap$Entry (#85301) | +---key org.eclipse.ui.internal.commands.ExtensionCommandRegistry$1 (#86393) | +---this$0 org.eclipse.ui.internal.commands.ExtensionCommandRegistry (#85176) | +---commandRegistryListeners java.util.ArrayList (#102504) | +---elementData java.lang.Object[10] (#102547) | +---[0] org.eclipse.ui.internal.commands.CommandManager$1 (#102791) | +---this$0 org.eclipse.ui.internal.commands.CommandManager (#85177) | +---mutableCommandRegistry org.eclipse.ui.internal.commands.PreferenceCommandRegistry (#96943) | +---preferenceStore org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore (#96946) | +---listeners org.eclipse.jface.util.ListenerList (#97608) | +---listeners java.lang.Object[31] (#385754) | +---[8] org.eclipse.ui.internal.presentations.EditorPresentation$2 (#149903) | +---this$0 org.eclipse.ui.internal.presentations.EditorPresentation (#149815) -------------------------------------------------------------------------------- All GC Roots -> org.eclipse.ui.internal.presentations.EditorPresentation #149815: Reverse Paths | +---org.eclipse.ui.internal.presentations.EditorPresentation (#149815) | +---this$0 of org.eclipse.ui.internal.presentations.EditorPresentation$2 (#149903) | +---[8] of java.lang.Object[31] (#385754) | +---listeners of org.eclipse.jface.util.ListenerList (#97608) | +---listeners of org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore (#96946) | +---preferenceStore of org.eclipse.ui.internal.commands.PreferenceCommandRegistry (#96943) | +---mutableCommandRegistry of org.eclipse.ui.internal.commands.CommandManager (#85177) | +---this$0 of org.eclipse.ui.internal.commands.CommandManager$1 (#102791) | +---[0] of java.lang.Object[10] (#102547) | +---elementData of java.util.ArrayList (#102504) | +---commandRegistryListeners of org.eclipse.ui.internal.commands.ExtensionCommandRegistry (#85176) | +---this$0 of org.eclipse.ui.internal.commands.ExtensionCommandRegistry$1 (#86393) | +---key of java.util.HashMap$Entry (#85301) | +---[3] of java.util.HashMap$Entry[16] (#5325) | +---table of java.util.HashMap (#5235) | +---listeners of org.eclipse.core.internal.registry.ExtensionRegistry (#5123) | +---parent of org.eclipse.core.internal.registry.BundleModel (#57513) | +---parent of org.eclipse.core.internal.registry.Extension (#57280) [Java Frame]
This one -is- a continuous leak, if you're opening/closing multiple windows.
*** This bug has been marked as a duplicate of 53473 ***