changeset 7648:204d756d0ebf

set test vm size and add jdk_lambda test target
author mduigou
date Thu, 14 Mar 2013 12:00:22 -0700
parents 12cd3e52947f
children bd7a6f339e43
files test/Makefile
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Thu Mar 14 11:33:33 2013 -0700
+++ b/test/Makefile	Thu Mar 14 12:00:22 2013 -0700
@@ -596,6 +596,10 @@
 	$(call SharedLibraryPermissions,tools/launcher)
 	$(call RunAgentvmBatch)
 
+# Stable agentvm testruns (minus items from PROBLEM_LIST)
+jdk_lambda: $(call TestDirs, java/util/function java/util/Optional java/util/stream)
+	$(call RunAgentvmBatch)
+
 # Stable othervm testruns (minus items from PROBLEM_LIST)
 #   Using agentvm has serious problems with these tests
 ifdef OPENJDK
@@ -658,6 +662,9 @@
 # Boost the max memory for jtreg to avoid gc thrashing
 JTREG_MEMORY_OPTION = -J-Xmx512m
 JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION)
+# Set the memory for target VMS.
+JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx512m
+JTREG_BASIC_OPTIONS += $(JTREG_TESTVM_MEMORY_OPTION)
 
 # Make sure jtreg exists
 $(JTREG): $(JT_HOME)