Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8228753

Deprecate -XX:FieldsAllocationStyle product option

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b09

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: