Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot

      Description

      The way field layout is computed has been changed, with more aggressive optimizations to avoid unused gaps in instances. It is possible to disable these new optimizations with a new VM option `-XX:-UseEmptySlotsInSupers`.

      For a limited time, it is still possible to continue to use the old code to compute field layout with a new VM option `-XX:-UseNewFieldLayout`. This option is already deprecated in JDK 15 and the old code will be removed in JDK 16.

        Attachments

          Activity

            People

            • Assignee:
              fparain Frederic Parain
              Reporter:
              fparain Frederic Parain
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: