Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331714 - GCed entries accumulate over time in the context debug tree
Summary: GCed entries accumulate over time in the context debug tree
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: E4 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 15:29 EST by Oleg Besedin CLA
Modified: 2012-12-13 15:00 EST (History)
1 user (show)

See Also:


Attachments
Patch (1.49 KB, patch)
2010-12-02 15:29 EST, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2010-12-02 15:29:18 EST
Created attachment 184396 [details]
Patch

The GCed context entries accumulates over time in the context debug tree. This is caused by the HashMap code that is unable to remove WeakReferences to GCed element as their hash values change when referrent is GCed.
Comment 1 Oleg Besedin CLA 2010-12-02 15:30:02 EST
Patch applied to CVS Head.