Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
3659
Description
Memory profiling shows that UnknownSchemaNodeImpl wastes about 37kB in empty ArrayLists. This boils down to this allocation:
private final List<UnknownSchemaNode> unknownNodes = new ArrayList<>();
which is never squashed to a ImmutableList nor an emptyList.