hotspot/test/Makefile
changeset 47100 17953cf82d51
parent 46570 676d6539e0e0
--- a/hotspot/test/Makefile	Tue Aug 29 10:41:51 2017 +0000
+++ b/hotspot/test/Makefile	Tue Aug 29 15:53:04 2017 -0400
@@ -70,8 +70,8 @@
   CONCURRENCY := 12
 endif
 
-# Make sure MaxRAMFraction is high enough to not cause OOM or swapping since we may end up with a lot of JVM's
-JTREG_BASIC_OPTIONS += -vmoption:-XX:MaxRAMFraction=$(shell expr $(CONCURRENCY) \* 4)
+# Make sure MaxRAMPercentage is high enough to not cause OOM or swapping since we may end up with a lot of JVM's
+JTREG_BASIC_OPTIONS += -vmoption:-XX:MaxRAMPercentage=$(shell expr 25 / $(CONCURRENCY))
 
 # Include the common base file with most of the logic
 include ../../test/TestCommon.gmk