RFR: 8328312: runtime/stack/Stack0*.java fails intermittently on libgraal

Doug Simon dnsimon at openjdk.org
Fri Mar 22 11:00:25 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.

Thanks for the reviews.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18441#issuecomment-2014838087


More information about the hotspot-runtime-dev mailing list