RFR: 8228581: Archive BigInteger constants
Joe Darcy
joe.darcy at oracle.com
Wed Jul 24 19:38:17 UTC 2019
Hi Claes,
For those of us unfamiliar with the archive mechanism, can you describe
its semantics or send a pointer to such a description?
Thanks,
-Joe
On 7/24/2019 6:28 AM, 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.
>
> Testing: tier1-2
>
> Thanks!
>
> /Claes
More information about the core-libs-dev
mailing list