JDK-8228753 : Deprecate -XX:FieldsAllocationStyle product option
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-07-29
  • Updated: 2019-12-18
  • Resolved: 2019-08-06
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 14
14 b09Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
  product(intx, FieldsAllocationStyle, 1,                                   \
          "0 - type based with oops first, "                                \
          "1 - with oops last, "                                            \
          "2 - oops in super and sub classes are together")                 \
          range(0, 2)                      

The current default FieldsAllocationStyle was determined to be most performant, and has been in effect for many years.  There is no reason for a user to use this option, and from all reports and google searches, users do not use this option for performance benefit.

This is untested in our test base, and should be deprecated/made obsolete and removed.  Doing so would enable efficient rewrite of the field layout code for inline types in valhalla.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/dd0f6703203f User: coleenp Date: 2019-08-06 12:21:09 +0000
06-08-2019