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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • 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.

            fparain Frederic Parain
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: