-
Enhancement
-
Resolution: Fixed
-
P4
-
23
-
b20
At the time of the Class Field layout overhaul, new options were created with CSR JDK-8237976, including UseEmptySlotsInSupers in case users had dependencies on the old implementation of field layout.
I did a google search to see if this option was recommended in the OpenJDK. There were some hits for applications that needed to be updated, like https://github.com/reactor/reactor-core/pull/3168. Who subsequently updated and fixed their applications.
The Vahalla project for JEP 401 is making substantial changes to the field layout code for flattening value fields, and the extra code to support this unused option is unnecessary work and could affect whether the VM decides to flatten a value field.
I did a google search to see if this option was recommended in the OpenJDK. There were some hits for applications that needed to be updated, like https://github.com/reactor/reactor-core/pull/3168. Who subsequently updated and fixed their applications.
The Vahalla project for JEP 401 is making substantial changes to the field layout code for flattening value fields, and the extra code to support this unused option is unnecessary work and could affect whether the VM decides to flatten a value field.
- csr for
-
JDK-8330676 Deprecate -XX:+UseEmptySlotsInSupers
- Closed
- relates to
-
JDK-8330699 Obsolete -XX:+UseEmptySlotsInSupers
- Resolved
-
JDK-8237767 Field layout computation overhaul
- Resolved
-
JDK-8237976 Add VM options to control field layout algorithms
- Closed
(1 links to)