JDK-8330607 : Deprecate -XX:+UseEmptySlotsInSupers
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-18
  • Updated: 2024-04-29
  • Resolved: 2024-04-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b20Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8331071 :  
Description
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.

Comments
Changeset: 936a47d7 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2024-04-22 11:40:22 +0000 URL: https://git.openjdk.org/jdk/commit/936a47d7d68c7305993f68db844dc76006b674b1
22-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18868 Date: 2024-04-19 17:19:55 +0000
19-04-2024