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)
----------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)
- caused by
-
JDK-8316694 Implement relocation of nmethod within CodeCache
-
- Resolved
-
- duplicates
-
JDK-8369147 Various issues with new tests added by JDK-8316694
-
- Open
-