Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8228507

Archive FDBigInteger constants

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • core-libs
    • b12

      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.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: