RFR: 8199865: Avoid initializing ShortCache in ProxyGenerator
Claes Redestad
claes.redestad at oracle.com
Tue Mar 20 14:47:26 UTC 2018
Hi,
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):
http://cr.openjdk.java.net/~redestad/8199865/open.00/
Thanks!
/Claes
More information about the core-libs-dev
mailing list