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

[lworld] Layout builder should not reuse gap before inherited fields

XMLWordPrintable

      When computing the field layout of a value class with inherited fields, the VM should try to reuse the gap that exists between the object header and the first inherited field when the header size is 12 bytes. Assigning fields in this gap could prevent the the value class from supporting atomic flat and nullable atomic flat layouts because of alignment.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: