[YANGTOOLS-352] TypeProviderImpl retains empty HashMaps Created: 31/Oct/14  Updated: 10/Apr/22  Resolved: 13/Mar/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-114 Milestone: Lithium: Analysis & implem... Resolved

 Description   

During analysis of a memory dump we have identified that TypeProviderImpl instances retained via TypeProviderWrapper contain references to empty HashMaps, wasting ~114kB in ~2370 instances. This seems to point to getTypeDefsContextMap field. Analyze lifecycle in an attempt to bring this down as much as reasonably possible.



 Comments   
Comment by Robert Varga [ 12/Mar/15 ]

https://git.opendaylight.org/gerrit/13477

Generated at Wed Feb 07 20:52:58 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.