Project: Eclipse_Platform_UI
Bug 53751 [Progress] Leak in ProgressViewer
Reported: 2004-03-04 10:09:09 | Status: verified fixed

I2003-02-03 1) Use new search to performa a couple of java searches 2) remove all search results 3) make sure no jobs are running in the progress view 4) With a memory analyser, you find that there are references to the search jobs left. +---org.eclipse.swt.widgets.Display (#61089) [Java Frame] | +---controlTable org.eclipse.swt.widgets.Control[1024] (#61177) | +---[18] org.eclipse.swt.widgets.Canvas (#114824) | +---eventTable org.eclipse.swt.widgets.EventTable (#114932) | +---listeners org.eclipse.swt.widgets.Listener[12] (#115066) | +---[0] org.eclipse.swt.widgets.TypedListener (#115238) | +---eventListener org.eclipse.jface.viewers.ContentViewer$2 (#115409) | +---this$0 org.eclipse.ui.internal.progress.ProgressViewer (#114776) | +---contentProvider org.eclipse.ui.internal.progress.ProgressViewerContentProvider (#114876) | +---jobsToShow java.util.HashSet (#114978) | +---map java.util.HashMap (#115115) | +---table java.util.HashMap$Entry[16] (#115275) | +---[2] java.util.HashMap$Entry (#288266) | +---key org.eclipse.ui.internal.progress.JobInfo (#288091) | +---job org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob (#288058) | +---fSearchJobRecord org.eclipse.search2.internal.ui.InternalSearchUI$SearchJobRecord (#288254) | +---fQuery org.eclipse.jdt.internal.ui.search.JavaSearchQuery (#288056) | +---fResult org.eclipse.jdt.internal.ui.search.JavaSearchResult (#288057)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressViewerContentProvider.java