RFR: 8228581: Archive BigInteger constants

Claes Redestad claes.redestad at oracle.com
Wed Jul 24 13:28:11 UTC 2019


BigInteger has a number of pre-calculated constants that are profitable
to put up for archiving. This reduces initialization time of BigInteger
by 0.3-0.5ms, and archives ~12Kb worth of objects.

Bug:    https://bugs.openjdk.java.net/browse/JDK-8228581
Webrev: http://cr.openjdk.java.net/~redestad/8228581/open.00/

Webrev is applied on top of patch for
https://bugs.openjdk.java.net/browse/JDK-8228507 - which I've
tested alongside this.

Testing: tier1-2



More information about the hotspot-runtime-dev mailing list