JDK-8239016 : Release Note: Field Layout Computation Changed
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2020-02-13
  • Updated: 2021-05-14
  • Resolved: 2020-02-14
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 15
15Resolved
Description
The way that field layout is computed has been changed, with more aggressive optimizations to avoid unused gaps in instances. These new optimizations can be disabled by using a new VM option `-XX:-UseEmptySlotsInSupers`.

For a limited time, it is possible to continue to use the old code to compute field layout with a new VM option `-XX:-UseNewFieldLayout`. However, this option has been deprecated in JDK 15 and the old code will be removed in a future release.
Comments
This text looks good.
14-02-2020