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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 26
    • 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)

            crakoczy Chad Rakoczy
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: