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 102357 - Memory leak in CndDataObject.CircularQueue
Summary: Memory leak in CndDataObject.CircularQueue
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 16:00 UTC by Vladimir Voskresensky
Modified: 2007-11-27 16:32 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 Vladimir Voskresensky 2007-04-24 16:00:10 UTC
CircularQueue is internal, but not static class which is hold in the static
field of CndDataObject. That cause hidden reference to the creator-object, which
has reference to Folder, which has reference to MakeProject (through Items).

The fix is simple and safe. We need to declare internal class to be static.
Comment 1 Vladimir Voskresensky 2007-04-24 17:18:45 UTC
fix is reviewed and integrated.

cvs log:
Checking in CndDataObject.java;
/shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/loaders/CndDataObject.java,v
 <--  CndDataObject.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done