compiler/whitebox/StressNMethodRelocation.java fails when running only with C1

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 26
    • Component/s: hotspot

      The test compiler/whitebox/StressNMethodRelocation.java failed when run with -XX:TieredStopAtLevel=1 (or 2 or 3) which excludes C2:

      ----------System.out:(1/38)----------
      WB error: invalid compilation level 4
      ----------System.err:(13/1033)----------
      java.lang.IllegalStateException: Method public static void A.sum(byte[],byte[],byte[]) is not compiled by C2.
      at compiler.whitebox.StressNMethodRelocation$TestMethod.compileWithC2(StressNMethodRelocation.java:186)
      at compiler.whitebox.StressNMethodRelocation.generateCode(StressNMethodRelocation.java:117)
      at compiler.whitebox.StressNMethodRelocation.main(StressNMethodRelocation.java:69)

            Assignee:
            Chad Rakoczy
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: