Details
-
Enhancement
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
None
-
b12
Description
jdk.internal.math.FDBigInteger.<clinit> creates various small and large arrays of pre-calculated values, which takes approximately 2.5ms and allocates roughly 30Kb of data on the heap. The values are effectively immutable and seems a good candidate for archiving. The classes are loaded and used on any String <-> double conversion, which is relatively common.