RFR: 8335778: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fails on ppc64 platforms after JDK-8334545

David Holmes dholmes at openjdk.org
Mon Jul 8 06:00:33 UTC 2024


On Fri, 5 Jul 2024 12:26:03 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> stdout shows :
>  "The Java thread stack size specified is too small. Specify at least 384k"
> Previously the test was done only on x64 platforms (comment said that it only works there 'in desired way') .

Changes requested by dholmes (Reviewer).

test/hotspot/jtreg/runtime/ClassInitErrors/TestStackOverflowDuringInit.java line 31:

> 29:  *          cause, even if we can't create the ExceptionInInitializerError
> 30:  * @comment This test could easily be perturbed so don't allow flag settings.
> 31:  * @requires vm.simpleArch == "x64" | vm.simpleArch == "aarch64" | vm.simpleArch == "riscv64"

Please just increase the stack size. The test should run okay everywhere now.

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

PR Review: https://git.openjdk.org/jdk/pull/20053#pullrequestreview-2162330764
PR Review Comment: https://git.openjdk.org/jdk/pull/20053#discussion_r1668032665


More information about the hotspot-runtime-dev mailing list