bytedance / bytedance/CodeLocator
Lambda in CodeLocatorApplicationInitializedListener retains released EditorImpl
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 182
- PR merge metrics
- No merged PRs in 30d
Description
And in the subttree of the released editors there are references to disposed instances of PsiAwareTextEditorComponent, CaretModelImpl. Could you please take a look.
`editor` field:
```
239MB/1 objects | | | arg$1: com.intellij.openapi.editor.impl.EditorImpl
238MB/1 objects | | | myDocument: com.intellij.openapi.editor.impl.DocumentImpl
238MB/1 objects | | | myDocumentListeners: com.intellij.openapi.editor.impl.LockFreeCOWSortedArray
238MB/1 objects | | | value: [Lcom.intellij.openapi.editor.event.DocumentListener;
68.5MB/4 objects | | | []: com.bytedance.tools.codelocator.listener.CodeLocatorApplicationInitializedListener$5$1
68.5MB/4 objects | | | val$editor: com.intellij.openapi.editor.impl.EditorImpl
66.5MB/4 objects | | | myPanel: javax.swing.JPanel
66.5MB/4 objects | | | parent: com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorComponent(disposed)
```
`editorPathMap` field:
```
65.0MB/1 objects +-this$1: com.bytedance.tools.codelocator.listener.CodeLocatorApplicationInitializedListener$5
65.0MB/1 objects | editorPathMap: java.util.HashMap
65.0MB/1 objects | table: [Ljava.util.HashMap$Node;
55.4MB/43 objects | []: java.util.HashMap$Node
34.9MB/38 objects | +-key: com.intellij.openapi.editor.impl.EditorImpl
22.0MB/5 objects | | myCaretModel: com.intellij.openapi.editor.impl.CaretModelImpl(disposed)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.