changeset 39403:37f78de0f227

8151283: Implement setting jtreg @requires property vm.isG1Supported. Reviewed-by: tschatzl, iignatyev, mchernov
author dfazunen
date Tue, 21 Jun 2016 18:37:04 +0400
parents cf2142b8d40f
children d0ad5220e91c 4adf52148100
files hotspot/test/TEST.ROOT
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/test/TEST.ROOT	Tue Jun 21 12:09:36 2016 +0200
+++ b/hotspot/test/TEST.ROOT	Tue Jun 21 18:37:04 2016 +0400
@@ -33,8 +33,18 @@
 
 # Source files for classes that will be used at the beginning of each test suite run,
 # to determine additional characteristics of the system for use with the @requires tag.
+# Note: compiled bootlibs code will be located in the folder 'bootClasses'
 requires.extraPropDefns = ../../test/jtreg-ext/requires/VMProps.java
-requires.properties=sun.arch.data.model vm.simpleArch vm.flightRecorder
+requires.extraPropDefns.bootlibs = ../../test/lib/sun
+requires.extraPropDefns.vmOpts = -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:bootClasses
+requires.properties= \
+    sun.arch.data.model \
+    vm.simpleArch \
+    vm.flightRecorder \
+    vm.gc.G1 \
+    vm.gc.Serial \
+    vm.gc.Parallel \
+    vm.gc.ConcMarkSweep
 
 # Tests using jtreg 4.2 b02 features
 requiredVersion=4.2 b02