[lworld] Field is flattened although -XX:-UseFieldFlattening is set

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      compiler.valhalla.inlinetypes.TestInlineFieldNonFlattened fails IR verification because a field is flattened although -XX:-UseFieldFlattening is set.

      Layout of class compiler/valhalla/inlinetypes/TestInlineFieldNonFlattened$MyClass@0x74ef5433a950 extends java/lang/Object@0x74ef540dfa40
      Instance fields:
       @0 RESERVED 12/-
       @12 FLAT 4/4 "v1" Lcompiler/valhalla/inlinetypes/TestInlineFieldNonFlattened$MyValue; compiler/valhalla/inlinetypes/TestInlineFieldNonFlattened$MyValue@0x74ef5433a950 NON_ATOMIC_FLAT

      The relevant part of the test is currently uncommented with "// TODO 8341767" and should be re-enabled once this is fixed.

            Assignee:
            Frederic Parain
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: