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

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • hotspot
    • b19

      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)

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

              Created:
              Updated:
              Resolved: