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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 12
    • Component/s: 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)

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

              Created:
              Updated:
              Resolved: