RFR: 8228581: Archive BigInteger constants

Alan Bateman Alan.Bateman at oracle.com
Thu Aug 22 09:47:37 UTC 2019

On 24/07/2019 14:28, Claes Redestad wrote:
> Hi,
> 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.
This looks good to me but I think it would be useful to have Joe or 
Brian or someone else more steeped in BigInteger to also scan the 
changes and recommend any additional testing.


More information about the hotspot-runtime-dev mailing list