From eccee3e025cfb032d310ad493f4176260cac859f Mon Sep 17 00:00:00 2001 From: Mike Duigou Date: Wed, 22 May 2013 09:59:37 -0700 Subject: [PATCH] 8014819: set max size for jtreg testvms Reviewed-by: alanb, darcy --- jdk/test/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jdk/test/Makefile b/jdk/test/Makefile index 51529b7c5f5..de6b4a783ff 100644 --- a/jdk/test/Makefile +++ b/jdk/test/Makefile @@ -657,9 +657,12 @@ JTREG_BASIC_OPTIONS += $(JTREG_IGNORE_OPTION) # Multiple by 4 the timeout numbers JTREG_TIMEOUT_OPTION = -timeoutFactor:4 JTREG_BASIC_OPTIONS += $(JTREG_TIMEOUT_OPTION) -# Boost the max memory for jtreg to avoid gc thrashing +# Set the max memory for jtreg control vm JTREG_MEMORY_OPTION = -J-Xmx512m JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION) +# Set the max memory for jtreg target test vms +JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx512m +JTREG_TEST_OPTIONS += $(JTREG_TESTVM_MEMORY_OPTION) # Make sure jtreg exists $(JTREG): $(JT_HOME)