RFR: 8228507: Archive FDBigInteger

Claes Redestad claes.redestad at oracle.com
Wed Jul 24 09:42:27 UTC 2019


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