Controlling Java integer cache
Useful for autoboxing.
By default, Integer.valueOf caches between -128 and 127 (min/max. of signed byte). However, you can increase this range by using:
-XX:+AggressiveOpts
and/or
-Djava.lang.Integer.<wbr></wbr>IntegerCache.high
when launching the VM. More details: https://www.javaspecialists.eu/archive/Issue191.html.