From 0daec497fea8c048a9455e4ff331a9d8c4293a4b Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Wed, 19 May 2021 01:46:23 +0000 Subject: [PATCH] 8267246: -XX:MaxRAMPercentage=0 is unreasonable for jtreg tests on many-core machines Reviewed-by: shade, erikj --- make/RunTests.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/RunTests.gmk b/make/RunTests.gmk index 546a85f1659..fbd5c35bb22 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -738,7 +738,7 @@ define SetupRunJtregTestBody # Make sure MaxRAMPercentage is high enough to not cause OOM or swapping since # we may end up with a lot of JVM's - $1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS)) + $1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }') JTREG_TIMEOUT_FACTOR ?= 4