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.
- links to
-
Commit(lworld) openjdk/valhalla/1a27c753
-
Review(lworld) openjdk/valhalla/1319