Bug 28281

Summary: cursors allocated in pde manifest editor seem to be never disposed
Product: [Eclipse Project] PDE Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.