Skip to content

Commit 0daec49

Browse files
committed
8267246: -XX:MaxRAMPercentage=0 is unreasonable for jtreg tests on many-core machines
Reviewed-by: shade, erikj
1 parent 324defe commit 0daec49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/RunTests.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ define SetupRunJtregTestBody
738738

739739
# Make sure MaxRAMPercentage is high enough to not cause OOM or swapping since
740740
# we may end up with a lot of JVM's
741-
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
741+
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }')
742742

743743
JTREG_TIMEOUT_FACTOR ?= 4
744744

0 commit comments

Comments
 (0)