[lworld] compiler/valhalla/inlinetypes/TestTrivialMethods.java fails with methods not getting C2 compiled

XMLWordPrintable

      I've found it fails fails often with --enable-preview but also without (on my EnableValhalla removal branch) explicit GC flag (with optionally AOT class linking enabled) and a whole other set of flags:
      -XX:+AOTClassLinking -XX:+UseZGC
      -XX:+AOTClassLinking -XX:+UseG1GC
      -XX:+AOTClassLinking -XX:+UseSerialGC
      -XX:+AOTClassLinking -XX:+UseParallelGC
      -XX:+UseCompactObjectHeaders
      -Xshare:off -showversion

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: getter3 is not C2 compiled expected: 1 but was: 4

      Happens on every platform. No replay or hs error generated.

            Assignee:
            Christian Hagedorn
            Reporter:
            Paul Hübner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: