Move constant fields from InstanceKlass to ConstInstanceKlass

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: