RFR: 8328312: runtime/stack/Stack0*.java fails intermittently on libgraal
Doug Simon
dnsimon at openjdk.org
Thu Mar 21 22:29:47 UTC 2024
The `runtime/stack/Stack011.java` and `runtime/stack/Stack012.java` tests intermittently fail on libgraal:
java.lang.Exception: TEST_RFE: no stack overflow thrown, need to try deeper recursion?
at Stack012.run(Stack012.java:110)
java.lang.RuntimeException: Exception in the thread Thread[#22,Thread-2,5,]
at Stack012.main(Stack012.java:98)
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:1575)
Caused by: java.lang.Exception: TEST_RFE: no stack overflow thrown, need to try deeper recursion?
at Stack012.run(Stack012.java:110)
Increasing the recursion as suggested in the error message above resolves the failures.
-------------
Commit messages:
- increase depthToTry by 10x
Changes: https://git.openjdk.org/jdk/pull/18441/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18441&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8328312
Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/18441.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18441/head:pull/18441
PR: https://git.openjdk.org/jdk/pull/18441
More information about the hotspot-runtime-dev
mailing list