RFR: 8328312: runtime/stack/Stack0*.java fails intermittently on libgraal
David Holmes
dholmes at openjdk.org
Fri Mar 22 01:17:27 UTC 2024
On Thu, 21 Mar 2024 22:24:50 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> 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.
Fix seems fine - should have no effect on existing test scenarios as they already hit SOE at 10x.
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18441#pullrequestreview-1953761874
More information about the hotspot-runtime-dev
mailing list