Skip to content
Permalink
Browse files
8267246: -XX:MaxRAMPercentage=0 is unreasonable for jtreg tests on ma…
…ny-core machines

Reviewed-by: shade, erikj
  • Loading branch information
DamonFool committed May 19, 2021
1 parent 324defe commit 0daec497fea8c048a9455e4ff331a9d8c4293a4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 0daec49

Please sign in to comment.