compiler/cha/DefaultRootMethod.java and compiler/cha/AbstractRootMethod.java intermittently fail with the new -XX:+StressIncrementalInlining flag introduced by JDK-8319879:
Java HotSpot(TM) 64-Bit Server VM warning: dependency logging results may be inflated by VerifyDependencies
java.lang.Error: java.lang.reflect.InvocationTargetException
at compiler.cha.Utils.run(Utils.java:197)
at compiler.cha.DefaultRootMethod.main(DefaultRootMethod.java:67)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at compiler.cha.Utils.run(Utils.java:193)
... 5 more
Caused by: java.lang.RuntimeException: assertTrue: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:634)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:472)
at compiler.cha.Utils$ATest.assertNotCompiled(Utils.java:150)
at compiler.cha.DefaultRootMethod$DefaultRoot.test(DefaultRootMethod.java:129)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 7 more
The test also fails with Graal as JIT (JDK-8319448), it might just be unstable.