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 13602 - MemoryLeak in CookieAction$CookiesChangeListener
Summary: MemoryLeak in CookieAction$CookiesChangeListener
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2001-07-13 15:00 UTC by anovak
Modified: 2008-12-22 20:15 UTC (History)
0 users

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 anovak 2001-07-13 15:00:00 UTC
The CookiesChangeListener has the "nodes" variable which strongly references
Nodes. The array is updated from time to time. It contains for instance a
refernce to a JavaNode, which in turn references a JavaDataObject. If you,
however, delete the JavaDataObject, it is not gced from memory because there is
the reference from the nodes array.
Comment 1 rmatous 2001-07-16 14:10:47 UTC
Fixed in main trunk. CookieAction$CookiesChangeListener holds nodes 
as List of WeakReferences instead of array of strong references.
Comment 2 Jan Zajicek 2001-07-24 12:01:11 UTC
rev 1.16
Comment 3 Quality Engineering 2003-07-01 16:14:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.