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 51261

Summary: Suggest to null references to tasks in FolderInstance after their execution
Product: platform Reporter: _ rkubacki <rkubacki>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: PERFORMANCE
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ rkubacki 2004-11-08 11:55:32 UTC
org.openide.loaders.FolderInstance.recognitionTask
and
org.openide.loaders.FolderInstance.creationTask
holds array list of found data objects. Perhaps it
is possible not to hold them when they are processed.
Comment 1 Jaroslav Tulach 2004-11-08 12:27:22 UTC
Perhaps. Any test or specification what will be better?
Comment 2 _ rkubacki 2004-11-08 13:23:06 UTC
we can get rid of 29 arrays + 2*29 tasks. Right, it is only several
(4) kB.
Comment 3 Jaroslav Tulach 2004-11-08 18:03:26 UTC
But the FolderInstance has listeners attached to the DataObjects and there are 
tests to changes in them are really observed. Somebody (and very likely the 
FolderInstance) has to hold the objects to be notified about the changes.