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 49360 - Growing number of CompiledSourceForBinaryQuery$Result instances
Summary: Growing number of CompiledSourceForBinaryQuery$Result instances
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 49245
  Show dependency tree
 
Reported: 2004-09-21 14:26 UTC by Antonin Nebuzelsky
Modified: 2006-03-24 10:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
OptimizeIt screenshot (94.04 KB, image/png)
2004-09-21 14:28 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-09-21 14:26:52 UTC
Each invocation of
CompiledSourceForBinaryQuery.findSourceRoots(URL)
creates new instance of Result. The Result
instances are kept in memory via property change
listener of the PropertyEvaluator. See the
attached OptimizeIt screenshot.
Comment 1 Antonin Nebuzelsky 2004-09-21 14:28:57 UTC
Created attachment 17792 [details]
OptimizeIt screenshot
Comment 2 Tomas Zezula 2004-09-28 16:11:18 UTC
Fixed, the SFBQ.Results are singletons.
Comment 3 Antonin Nebuzelsky 2004-10-14 12:06:09 UTC
Verified.