RFR: 8199865: Avoid initializing ShortCache in ProxyGenerator

Claes Redestad claes.redestad at oracle.com
Tue Mar 20 14:47:26 UTC 2018


by using Map<Object, Integer> instead of Map<Object, Short> (preserving 
shortness of values) we can avoid having ProxyGenerator depend on 
Short$ShortCache, which is a small startup and footprint win (since 
Integer$IntegerCache is 100% likely to have already been initialized):




More information about the core-libs-dev mailing list