RFR: 8228507: Archive FDBigInteger
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Aug 23 18:23:30 UTC 2019
Hi Claes,
Looks good. One picayune comment: maybe move lines 155-157 to just before line 79.
Thanks,
Brian
> On Jul 24, 2019, at 2:42 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
>
> any double<->String conversion will trigger load of
> jdk.internal.math.FDBigInteger, which has a static
> initializer pre-calculating a relatively large number
> of values.
>
> Archiving these pre-calculated values reduces the time
> spent in FDBigInteger.<clinit> from a couple of
> milliseconds down to "nothing".
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8228507 <https://bugs.openjdk.java.net/browse/JDK-8228507>
> Webrev: http://cr.openjdk.java.net/~redestad/8228507/open.00/ <http://cr.openjdk.java.net/~redestad/8228507/open.00/>
>
> Testing: tier1-3
More information about the core-libs-dev
mailing list