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

Place the Integer.IntegerCache and cached Integer objects in the closed archive heap region

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      The Integer.IntegerCache and cached Integer objects are archived in the open archive heap region at CDS dump time (JDK-8209120). The Integer objects and the cache are good candidates for moving to the closed archived heap region for sharing. That was also suggested by Claes when he made the change for archiving the Integer.IntegerCache.

      java.lang.Integer
      - klass: 'java/lang/Integer'
      - ---- fields (total size 2 words):
      - private final 'value' 'I' @12 -128 (ffffff80)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiangli Jiangli Zhou
              Reporter:
              jiangli Jiangli Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: