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

Move constant fields from InstanceKlass to ConstInstanceKlass

    XMLWordPrintable

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: