Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082699 | emb-9 | Goetz Lindenmaier | P4 | Resolved | Fixed | team |
This test fails on OSes with default 64K pages. This happens on ppc linux distributions.
The test passes -Xss320k to the VM.
The VM aborts with:
oJ/8077838-ppc-hs-comp> output-jdk9-fastdebug/images/jdk/bin/java -Xss320K
The stack size specified is too small, Specify at least 328k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
That's just because of the stack size computation in os_linux.cpp.
It uses Linux::page_size, which is 64K, and Linux::vm_default_page_size(), which is 8K.
Red/Yellow/Shadow pages are all set to 1.
Fix: increase to -Xss328K.
The test passes -Xss320k to the VM.
The VM aborts with:
oJ/8077838-ppc-hs-comp> output-jdk9-fastdebug/images/jdk/bin/java -Xss320K
The stack size specified is too small, Specify at least 328k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
That's just because of the stack size computation in os_linux.cpp.
It uses Linux::page_size, which is 64K, and Linux::vm_default_page_size(), which is 8K.
Red/Yellow/Shadow pages are all set to 1.
Fix: increase to -Xss328K.
- backported by
-
JDK-8082699 [TESTBUG] Fix runtime/StackGuardPages/testme.sh to deal with 64k pages.
-
- Resolved
-