RFR: 8328858: More runtime/stack tests fail intermittently on libgraal

Doug Simon dnsimon at openjdk.org
Tue Mar 26 17:39:28 UTC 2024


On Sun, 24 Mar 2024 10:36:45 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> While [JDK-8328312](https://bugs.openjdk.org/browse/JDK-8328312) fixed libgraal failures on `runtime/stack/Stack011.java` and `runtime/stack/Stack012.java`, other `runtime/stack/Stack0*` tests still fail:
> 
> java.lang.Exception: TEST_RFE: no stack overflow thrown, need to try deeper recursion?
>         at Stack013i.run(Stack013.java:127)
>         at Stack013.run(Stack013.java:53)
> java.lang.RuntimeException: Exception in the thread Thread[#22,Thread-2,5,]
>         at Stack013.main(Stack013.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 Stack013i.run(Stack013.java:127)
>         at Stack013.run(Stack013.java:53)
> 
> 
> This PR mitigates such failures by bumping `depthToTry` by at least an order of magnitude.
> 
> The right long term fix for these tests is probably [JDK-8328859](https://bugs.openjdk.org/browse/JDK-8328859).

Thanks for the reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/18465#issuecomment-2021070642


More information about the hotspot-runtime-dev mailing list