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 46796 - [perf] Source hierarchy bridge is leaking
Summary: [perf] Source hierarchy bridge is leaking
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-07-30 15:52 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Details of first instance of MethodParameter (91.46 KB, image/png)
2004-07-30 15:52 UTC, Antonin Nebuzelsky
Details
Details of seconds instance of MethodParameter (93.27 KB, image/png)
2004-07-30 15:53 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-07-30 15:52:11 UTC
Opening repeatedly the same java file in editor
and closing it shows cummulating instances of
objects from org.openide.src.*, e.g.
o.o.src.MethodParameter, o.o.src.Type,
o.o.src.Identifier.

You can see on the attached screenshots of
OptimizeIt window that instances of
MethodParameter were allocated by a bean module's
thread and that the instances are kept in memory
in bridge's array and this reference path goes to
o.n.mdr.util.EventNotifier$Instance's
RegisteredListenerSets.
Comment 1 Antonin Nebuzelsky 2004-07-30 15:52:51 UTC
Created attachment 16578 [details]
Details of first instance of MethodParameter
Comment 2 Antonin Nebuzelsky 2004-07-30 15:53:20 UTC
Created attachment 16579 [details]
Details of seconds instance of MethodParameter
Comment 3 Jan Becicka 2004-07-30 15:56:12 UTC
Thanks Tondo!
Dane, please take a look at it.
Comment 4 Daniel Prusa 2004-08-02 17:03:30 UTC
/cvs/java/src/org/netbeans/modules/java/bridge/ElementImpl.java,v  <--
 ElementImpl.java
new revision: 1.14; previous revision: 1.13
Comment 5 Antonin Nebuzelsky 2004-08-04 08:33:52 UTC
Verified.
Comment 6 Quality Engineering 2007-09-20 11:55:53 UTC
Reorganization of java component