Bug 92560

Summary: 660 'JavaEditorTextHoverProxy's for 36 'JavaEditors's
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 Keywords: needinfo
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2005-04-25 05:29:32 EDT
I20050420-1200

In a huge yourkit memory trace, I found 36 'JavaEditors's (several of which
leaked by bug 92106) and 660 'JavaEditorTextHoverProxy's. That makes more than
18 JavaEditorTextHoverProxys per JavaEditor. This could be a performance problem
(I have not digged further into this yet, so I'm not really sure - I just saw
the numbers).

[Snapshot on my machine: I20050420-1200_1.5.0_20050425_1004.memory]
Comment 1 Dani Megert CLA 2005-04-25 05:43:00 EDT
How big is the size of those objects?
Can you reproduce when running code that has the fix for bug 92106?
Comment 2 Markus Keller CLA 2005-04-25 11:41:10 EDT
They don't take up much memory: it's about 40KB for all
JavaEditorTextHoverProxies. I'll take another snapshot with the next I-build to
see whether that makes a difference.
Comment 3 Dani Megert CLA 2005-04-27 07:36:56 EDT
Profiled I20050426-1700 and could not find any leaks. In addition to bug 92106
this might have been caused by the editor reuse bugs which were introduced in
I20050419-1200 (bug 92049).
Comment 4 Dani Megert CLA 2007-06-22 09:59:21 EDT
Get rid of deprecated state.
Comment 5 Dani Megert CLA 2007-06-22 10:04:36 EDT
.