RFR: 8228507: Archive FDBigInteger

Jiangli Zhou jianglizhou at google.com
Wed Jul 24 18:00:13 UTC 2019

Hi Claes,

This looks good to me. I wonder if FDBigInteger.archivedCaches could
be placed in  closed_archive_subgraph_entry_fields for the 'closed'
archive region? The makeImmutable() is called for the cached
FDBigInteger objects.

Best regards,

On Wed, Jul 24, 2019 at 2:41 AM Claes Redestad
<claes.redestad at oracle.com> wrote:
> Hi,
> 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
> Webrev: http://cr.openjdk.java.net/~redestad/8228507/open.00/
> Testing: tier1-3
> Thanks!
> /Claes

More information about the hotspot-runtime-dev mailing list