8204978: [Graal] Disable Epsilon GC tests from running with Graal
authorepavlova
Thu, 14 Jun 2018 00:07:10 -0700
changeset 50559 27929b7eae4b
parent 50558 d9936e986e4f
child 50560 dafb2cc6ba32
8204978: [Graal] Disable Epsilon GC tests from running with Graal Reviewed-by: kvn
test/hotspot/jtreg/gc/epsilon/TestAlwaysPretouch.java
test/hotspot/jtreg/gc/epsilon/TestByteArrays.java
test/hotspot/jtreg/gc/epsilon/TestDieDefault.java
test/hotspot/jtreg/gc/epsilon/TestDieWithHeapDump.java
test/hotspot/jtreg/gc/epsilon/TestDieWithOnError.java
test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java
test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java
test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java
test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java
test/hotspot/jtreg/gc/epsilon/TestLogTrace.java
test/hotspot/jtreg/gc/epsilon/TestManyThreads.java
test/hotspot/jtreg/gc/epsilon/TestMemoryMXBeans.java
test/hotspot/jtreg/gc/epsilon/TestMemoryPools.java
test/hotspot/jtreg/gc/epsilon/TestObjects.java
test/hotspot/jtreg/gc/epsilon/TestPrintHeapSteps.java
test/hotspot/jtreg/gc/epsilon/TestRefArrays.java
test/hotspot/jtreg/gc/epsilon/TestUpdateCountersSteps.java
--- a/test/hotspot/jtreg/gc/epsilon/TestAlwaysPretouch.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestAlwaysPretouch.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestAlwaysPretouch
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Basic sanity test for Epsilon
  * @run main/othervm -Xmx1g -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestAlwaysPretouch
  */
--- a/test/hotspot/jtreg/gc/epsilon/TestByteArrays.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestByteArrays.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestByteArrays
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon is able to allocate arrays, and does not corrupt their state
  *
  * @run main/othervm -Xmx1g                                        -XX:+UseTLAB -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestByteArrays
--- a/test/hotspot/jtreg/gc/epsilon/TestDieDefault.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestDieDefault.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestDieDefault
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon GC should die on heap exhaustion
  * @library /test/lib
  * @run main TestDieDefault
--- a/test/hotspot/jtreg/gc/epsilon/TestDieWithHeapDump.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestDieWithHeapDump.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestDieWithHeapDump
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon GC should die on heap exhaustion with error handler attached
  * @library /test/lib
  * @run main TestDieWithHeapDump
--- a/test/hotspot/jtreg/gc/epsilon/TestDieWithOnError.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestDieWithOnError.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestDieWithOnError
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon GC should die on heap exhaustion with error handler attached
  * @library /test/lib
  * @run main TestDieWithOnError
--- a/test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestElasticTLAB
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon is able to work with/without elastic TLABs
  *
  * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:-EpsilonElasticTLAB                               TestElasticTLAB
--- a/test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestElasticTLABDecay
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon is able to work with/without elastic TLABs
  *
  * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:-EpsilonElasticTLABDecay                               TestElasticTLABDecay
--- a/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestAlwaysPretouch
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Basic sanity test for Epsilon
  * @library /test/lib
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestEpsilonEnabled
--- a/test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestHelloWorld
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Basic sanity test for Epsilon
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestHelloWorld
  */
--- a/test/hotspot/jtreg/gc/epsilon/TestLogTrace.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestLogTrace.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestLogTrace
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Test that tracing does not crash Epsilon
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc*=trace TestLogTrace
  */
--- a/test/hotspot/jtreg/gc/epsilon/TestManyThreads.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestManyThreads.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestManyThreads
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Test allocations from many threads
  *
  * @run main/othervm -Xmx128m -Xss512k                                        -XX:-UseTLAB -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestManyThreads
--- a/test/hotspot/jtreg/gc/epsilon/TestMemoryMXBeans.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestMemoryMXBeans.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestMemoryMXBeans
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Test JMX memory beans
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/gc/epsilon/TestMemoryPools.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestMemoryPools.java	Thu Jun 14 00:07:10 2018 -0700
@@ -25,7 +25,7 @@
 /**
  * @test TestMemoryPools
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Test JMX memory pools
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/gc/epsilon/TestObjects.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestObjects.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestObjects
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon is able to allocate objects, and does not corrupt their state
  *
  * @run main/othervm -Xmx128m                                        -XX:+UseTLAB -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestObjects
--- a/test/hotspot/jtreg/gc/epsilon/TestPrintHeapSteps.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestPrintHeapSteps.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestPrintSteps
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Tests -XX:EpsilonPrintHeapSteps works
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -XX:EpsilonPrintHeapSteps=0    TestPrintHeapSteps
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -XX:EpsilonPrintHeapSteps=1    TestPrintHeapSteps
--- a/test/hotspot/jtreg/gc/epsilon/TestRefArrays.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestRefArrays.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestRefArrays
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Epsilon is able to allocate arrays, and does not corrupt their state
  * @library /test/lib
  *
--- a/test/hotspot/jtreg/gc/epsilon/TestUpdateCountersSteps.java	Thu Jun 14 09:04:55 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestUpdateCountersSteps.java	Thu Jun 14 00:07:10 2018 -0700
@@ -24,7 +24,7 @@
 /**
  * @test TestUpdateCountersSteps
  * @key gc
- * @requires vm.gc.Epsilon
+ * @requires vm.gc.Epsilon & !vm.graal.enabled
  * @summary Test EpsilonUpdateCountersStep works
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -XX:EpsilonUpdateCountersStep=1    TestUpdateCountersSteps
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -XX:EpsilonUpdateCountersStep=10   TestUpdateCountersSteps