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

Archive FDBigInteger constants

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 14
    • None
    • core-libs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: