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

Move constant fields from InstanceKlass to ConstInstanceKlass

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 15
    • 11, 12
    • 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.

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

              Created:
              Updated:
              Resolved: