Community
Participate
Working Groups
Window handle leaks can be introduced due to missing dispose() calls. Unfortunately, it's much easier to introduce a leak than to find it. Bug 333286 illustrates a case when a window handle leak caused a severe performance issue in an unrelated piece of Eclipse functionality. SWT should provide a tool for debugging window leaks. Such tool could maintain two maps between window handles and SWT windows, one current and one historical. From time to time the tool would search for orphaned handles. The orphaned handles would then be mapped to windows that used to own them.
Patches are welcome.