Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8251490: [TESTBUG] The Java thread stack size specified is too small …
…for nsk/stress/stack. Specify at least 448k

Increase the -Xss stack size for some tests, mark other tests as not runnable on AArch64.

Reviewed-by: gziemski, lfoltan
  • Loading branch information
Harold Seigel committed Aug 19, 2020
1 parent f825768 commit a0cde95b6791db06e38ed1e790f6451923892ef3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
@@ -44,8 +44,10 @@
* and 1.4 on Win32.
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
* The stack size is too small to run on aarch64. Making it bigger
* could cause timeouts on other platform.
*
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp")
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp" & os.arch != "aarch64")
* @run main/othervm/timeout=900 -Xss200K nsk.stress.stack.stack008
*/

@@ -51,7 +51,7 @@
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp")
* @library /vmTestbase
* @build nsk.share.Terminator
* @run main/othervm/timeout=900 -Xss200K nsk.stress.stack.stack016 -eager
* @run main/othervm/timeout=900 -Xss448K nsk.stress.stack.stack016 -eager
*/

package nsk.stress.stack;
@@ -44,7 +44,7 @@
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp")
* @library /vmTestbase
* @build nsk.share.Terminator
* @run main/othervm/timeout=900 -Xss200K nsk.stress.stack.stack017 -eager
* @run main/othervm/timeout=900 -Xss448K nsk.stress.stack.stack017 -eager
*/

package nsk.stress.stack;
@@ -49,7 +49,7 @@
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp")
* @library /vmTestbase
* @build nsk.share.Terminator
* @run main/othervm/timeout=900 -Xss200K nsk.stress.stack.stack018 -eager
* @run main/othervm/timeout=900 -Xss448K nsk.stress.stack.stack018 -eager
*/

package nsk.stress.stack;
@@ -38,8 +38,10 @@
* Solaris and Win32 platforms.
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
* The stack size is too small to run on aarch64. Making it bigger
* could cause timeouts on other platform.
*
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp")
* @requires (vm.opt.DeoptimizeALot != true & vm.compMode != "Xcomp" & os.arch != "aarch64")
* @requires os.family != "windows"
* @library /vmTestbase
* @build nsk.share.Terminator

0 comments on commit a0cde95

Please sign in to comment.