Test 'vmTestbase/nsk/stress/stack/stack018.java' fails with errors "Thread: 1/10: java.lang.Error: TEST_RFE: try deeper invocations!" on the fastdebug version on Amazon Linux 2 (AArch64/Graviton2).
The test measures a number of recursive invocations until stack overflow. It measures the maximal recursion depth until the stack overflows. It starts from 100. This values is enough to cause stack overflow on the fastdebug version. This results maxDepth not to be set and to be 0.
Threads run after that don't have recursive calls and don't have stack overflow. They fail with "Thread: 1/10: java.lang.Error: TEST_RFE: try deeper invocations!".
The test measures a number of recursive invocations until stack overflow. It measures the maximal recursion depth until the stack overflows. It starts from 100. This values is enough to cause stack overflow on the fastdebug version. This results maxDepth not to be set and to be 0.
Threads run after that don't have recursive calls and don't have stack overflow. They fail with "Thread: 1/10: java.lang.Error: TEST_RFE: try deeper invocations!".
- relates to
-
JDK-8328859 remove limited recursion from stack overflow stress tests
-
- Open
-