Bug 55271 - [EditorMgmt] (leak) Last editor hung onto by EditorPresentationSystemContribution
Summary: [EditorMgmt] (leak) Last editor hung onto by EditorPresentationSystemContribu...
Status: RESOLVED DUPLICATE of bug 53473
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 14:41 EST by Nick Edgar CLA
Modified: 2004-03-21 16:16 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2004-03-18 14:41:33 EST
build I20040318 + latest from head

- close all editors
- open a java editor
- right click on the tab
- close the editor

The editor is still hung onto by the editor presentation's system menu:

All GC Roots -> org.eclipse.ui.internal.EditorPane #382934: Direct Paths

  |
  +---org.eclipse.core.internal.registry.Extension (#57336) [Java Frame] 
    |
    +---parent org.eclipse.core.internal.registry.BundleModel (#57569)
      |
      +---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 (#85361)
              |
              +---key
org.eclipse.ui.internal.commands.ExtensionCommandRegistry$1 (#86453)
                |
                +---this$0
org.eclipse.ui.internal.commands.ExtensionCommandRegistry (#85236)
                  |
                  +---commandRegistryListeners java.util.ArrayList (#102565)
                    |
                    +---elementData java.lang.Object[10] (#102608)
                      |
                      +---[0]  org.eclipse.ui.internal.commands.CommandManager$1
(#102852)
                        |
                        +---this$0
org.eclipse.ui.internal.commands.CommandManager (#85237)
                          |
                          +---mutableCommandRegistry
org.eclipse.ui.internal.commands.PreferenceCommandRegistry (#97003)
                            |
                            +---preferenceStore
org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore (#97006)
                              |
                              +---listeners org.eclipse.jface.util.ListenerList
(#97668)
                                |
                                +---listeners java.lang.Object[15] (#151210)
                                  |
                                  +---[8] 
org.eclipse.ui.internal.presentations.EditorPresentation$2 (#151279)
                                    |
                                    +---this$0
org.eclipse.ui.internal.presentations.EditorPresentation (#151168)
                                      |
                                      +---site
org.eclipse.ui.internal.EditorWorkbook$1 (#135156)
                                        |
                                        +---this$0
org.eclipse.ui.internal.EditorWorkbook (#134953)
                                          |
                                         
+---editorPresentationSystemContribution
org.eclipse.ui.internal.presentations.EditorPresentationSystemContribution (#386093)
                                            |
                                            +---pane
org.eclipse.ui.internal.EditorPane (#382934)


--------------------------------------------------------------------------------

All GC Roots -> org.eclipse.ui.internal.EditorPane #382934: Reverse Paths

  |
  +---org.eclipse.ui.internal.EditorPane (#382934)
    |
    +---pane of
org.eclipse.ui.internal.presentations.EditorPresentationSystemContribution (#386093)
      |
      +---editorPresentationSystemContribution of
org.eclipse.ui.internal.EditorWorkbook (#134953)
        |
        +---this$0 of org.eclipse.ui.internal.EditorWorkbook$1 (#135156)
          |
          +---site of org.eclipse.ui.internal.presentations.EditorPresentation
(#151168)
            |
            +---this$0 of
org.eclipse.ui.internal.presentations.EditorPresentation$2 (#151279)
              |
              +---[8]  of java.lang.Object[15] (#151210)
                |
                +---listeners of org.eclipse.jface.util.ListenerList (#97668)
                  |
                  +---listeners of
org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore (#97006)
                    |
                    +---preferenceStore of
org.eclipse.ui.internal.commands.PreferenceCommandRegistry (#97003)
                      |
                      +---mutableCommandRegistry of
org.eclipse.ui.internal.commands.CommandManager (#85237)
                        |
                        +---this$0 of
org.eclipse.ui.internal.commands.CommandManager$1 (#102852)
                          |
                          +---[0]  of java.lang.Object[10] (#102608)
                            |
                            +---elementData of java.util.ArrayList (#102565)
                              |
                              +---commandRegistryListeners of
org.eclipse.ui.internal.commands.ExtensionCommandRegistry (#85236)
                                |
                                +---this$0 of
org.eclipse.ui.internal.commands.ExtensionCommandRegistry$1 (#86453)
                                  |
                                  +---key of java.util.HashMap$Entry (#85361)
                                    |
                                    +---[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 (#57569)
                                            |
                                            +---parent of
org.eclipse.core.internal.registry.Extension (#57336) [Java Frame]
Comment 1 Nick Edgar CLA 2004-03-18 14:41:54 EST
Not a continuous leak, but still.
Comment 2 Nick Edgar CLA 2004-03-18 14:49:28 EST
Should address for M8, otherwise the JDT editor leak test will continue to fail.
Comment 3 Chris McLaren CLA 2004-03-21 16:16:51 EST

*** This bug has been marked as a duplicate of 53473 ***