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 37420 - TreeView expand/collapse postprocessing batching policy can cause memleak
Summary: TreeView expand/collapse postprocessing batching policy can cause memleak
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: PERFORMANCE, SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2003-11-21 16:07 UTC by Petr Nejedly
Modified: 2008-12-22 22:37 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 Petr Nejedly 2003-11-21 16:07:16 UTC
If you close one (potentially big) node (A) and
during the freeing timeout expand or collapse
another one (B), the A's children won't be freed
until A is expanded and collapsed again.

It would be better to not batch the requests at
all and process each of them independently. Such
change will fix the problem and also simplify the
code.

There is no reason why should the unrelated
requests be batched to the last one.
Comment 1 Jiri Rechtacek 2003-11-24 15:52:09 UTC
fixed in openide/src/org/openide/explorer/view/TreeView.java, rev. 1.144
Comment 2 Lukas Hasik 2004-02-26 15:10:46 UTC
Petr, could you please verify ? thanks advance.
Comment 3 Petr Nejedly 2004-02-26 15:43:34 UTC
It's OK now