[jdk8u-dev] RFR: JDK-8319405: [s390] [jdk8] Increase javac default stack size for s390x zero
Thomas Stuefe
stuefe at openjdk.org
Sat Nov 4 06:31:32 UTC 2023
This is a JDK8 - only patch to fix failing TCK tests for javac on s390.
s390x, by default, needs a lot of stack space for C++ frames since the s390x ABI requires a 160-byte register save area per frame. That affects JDK 8 in particular since we run Zero, and the C++ interpreter builds up C-frames for Java frames; furthermore, it affects javac since it recurses a lot.
This causes several javac TCK tests to fail with SOE (stmt33002mxxx).
To pass TCK, the default stack size of javac should be increased for s390 on JDK 8.
Testing:
- manually tested on s390 to see if the issue was resolved, which it was.
- manually tested on x64 to check that nothing changed
- GHAs
-------------
Commit messages:
- JDK-8319405-s390-jdk8-Increase-javac-default-stack-size-for-s390x-zero
Changes: https://git.openjdk.org/jdk8u-dev/pull/385/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=385&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319405
Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/385.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/385/head:pull/385
PR: https://git.openjdk.org/jdk8u-dev/pull/385
More information about the jdk8u-dev
mailing list