Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
A heap dump analysis of the L2FIB scaling test shows some large overhead coming from HashMaps retained from MaterializedContainerNodes. Maps containing the individual FIB entries, each with two leaves, are sized for up to 16 entries, wasting at least 48 bytes per instance.
This turns out to be two things: LazyContainerNode does not provide any hint when being promoted to a MaterializedContainerNode and MapAdaptor using only HashMap(Map) constructor to perform the copy.