This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52287 - AWTShutdown holding too many windows and keeping objects like FormDesigner
Summary: AWTShutdown holding too many windows and keeping objects like FormDesigner
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jan Stola
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-12-10 11:12 UTC by _ rkubacki
Modified: 2006-03-24 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-12-10 11:12:08 UTC
dev build from Dec 8, JDK5.0u1-b06, Linux

On of the contributors to issue 51769 - one of
threads running in JVM is AWTAutoShutdown that
holds JWindow instances with peers. From these
peers it is possible to get to our components and
related data like FormDesigner. Probably the
reason is that we do not dispose the component
when it is no longer needed.

org.netbeans.core.execution.ExecutionEngine.base->
java.lang.ThreadGroup@1880->
org.netbeans.core.TopThreadGroup@380c->
[Ljava.lang.Thread;@715d->
java.lang.Thread@e441->
sun.awt.AWTAutoShutdown@21590->
sun.awt.AWTAutoShutdown$PeerMap@39fc7->
[Ljava.util.Hashtable$Entry;@665a0->
java.util.Hashtable$Entry@8f5ba->
sun.awt.X11.XWindowPeer@5ef77->
javax.swing.JWindow@366f9->
javax.swing.JRootPane@5ef70->
javax.swing.JPanel@84999->
[Ljava.awt.Component;@a4d76->
org.netbeans.modules.form.palette.ScrollPopupMenu@cc428->
org.netbeans.modules.form.palette.PaletteMenuView@f3901->
org.openide.awt.JPopupMenuPlus@10fd01->
org.netbeans.modules.form.HandleLayer@c6175->
org.netbeans.modules.form.FormDesigner@9cb8d
Comment 1 _ rkubacki 2004-12-10 16:58:01 UTC
Almost all these windows are tied to
org.netbeans.modules.form.palette.ScrollPopupMenu. The rest are
probably live windows. I guess this is something specific to this
class (also it can be a multiview problem).
Comment 2 Tomas Pavek 2005-01-04 10:18:51 UTC
We will check what we can do with the ScrollPopupMenu - not to
reference the whole form editor.
Comment 3 Jan Stola 2005-01-07 09:43:12 UTC
The Window object used by ScrollPopupMenu wasn't correctly
disposed (the Window was only hidden). It is fixed by now.
Comment 4 Marek Grummich 2005-07-11 12:27:17 UTC
Verified