Bug 28281 - cursors allocated in pde manifest editor seem to be never disposed
Summary: cursors allocated in pde manifest editor seem to be never disposed
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-12-13 11:14 EST by Adam Kiezun CLA
Modified: 2003-01-23 18:12 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 Adam Kiezun CLA 2002-12-13 11:14:14 EST
i see 25 Cursors around - although i have no pde editor open
do we need all of them? or maybe they could be disposed?

they were allocated in the following way:
   	at org.eclipse.update.ui.forms.internal.HyperlinkSettings.<init>
(Unknown Source)
   	at org.eclipse.update.ui.forms.internal.HyperlinkHandler.<init>(Unknown 
Source)
   	at org.eclipse.update.ui.forms.internal.FormWidgetFactory.initialize
(Unknown Source)
   	at org.eclipse.update.ui.forms.internal.FormWidgetFactory.<init>
(Unknown Source)
   	at org.eclipse.update.ui.forms.internal.FormWidgetFactory.<init>
(Unknown Source)
   	at org.eclipse.update.ui.forms.internal.AbstractForm.<init>(Unknown 
Source)
   	at org.eclipse.update.ui.forms.internal.AbstractSectionForm.<init>
(Unknown Source)
   	at org.eclipse.update.ui.forms.internal.SectionForm.<init>(Unknown 
Source)
   	at org.eclipse.update.ui.forms.internal.ScrollableSectionForm.<init>
(Unknown Source)
   	at org.eclipse.pde.internal.ui.editor.manifest.ExtensionsForm.<init>
(Unknown Source)
Comment 1 Dejan Glozic CLA 2003-01-20 13:45:25 EST
Moving to PDE UI because the form that is causing this is a PDE editor form.
Comment 2 Dejan Glozic CLA 2003-01-23 18:12:39 EST
Changed cursor management to use one set of cursor instances and reference 
counting. The last user of the cursor will cause cursor disposal.