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

Archive FDBigInteger constants

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: