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

Move constant fields from InstanceKlass to ConstInstanceKlass

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 11, 12
    • Fix Version/s: 15
    • Component/s: hotspot

      Description

      Benefits:

      [1] Reduce the size of InstanceKlass to save compressed class space, which sometimes runs out in extreme conditions
      [2] This also reduces the size of ArrayKlass, which has lots of padding to so the vtable starts at the same offset as InstanceKlass
      [3] Small benefit of increasing read-only ratio for CDS sharing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: