3 ms·
> Nobody actually cares about automagically storing value types in HashMap I agree. When I look at the allocation profiles and heaps of our Java applications (
by needusername 7y ago
> Nobody actually cares about automagically storing value types in HashMap
I agree. When I look at the allocation profiles and heaps of our Java applications (which I assume to be fairly typical Java enterprise applications) boxed types do not show up. What really matters are Strings, both in the heap and the allocations.