Re: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

2014-01-23 Thread John Rose
On Jan 11, 2014, at 12:36 PM, Charles Oliver Nutter wrote: > So the number of values attached to a class is trending toward 1. In that case we should strive to eliminate the overhead of the ClassValueMap and its internal nodes where there is just one CV on a class. I added a comment to that ef

[9] RFR (XXS): 8031043: ClassValue's backing map should have a smaller initial size

2014-01-23 Thread Christian Thalinger
https://bugs.openjdk.java.net/browse/JDK-8031043 http://cr.openjdk.java.net/~twisti/8031043/webrev.00 8031043: ClassValue's backing map should have a smaller initial size Reviewed-by: The current initial size for ClassValue's backing WeakHashMap (ClassValueMap) is: private static final