TestElasticTLABDecay is misconfigured epsilon-gc-branch
authorshade
Wed, 23 May 2018 16:40:10 +0200
branchepsilon-gc-branch
changeset 56597 e472f5150008
parent 56596 e4e901df90f8
child 56625 380796df44a9
TestElasticTLABDecay is misconfigured
test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java
--- a/test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java	Mon May 21 15:01:17 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java	Wed May 23 16:40:10 2018 +0200
@@ -27,9 +27,8 @@
  * @requires vm.gc.Epsilon
  * @summary Epsilon is able to work with/without elastic TLABs
  *
- * @run main/othervm -Xmx1g -Xlog:gc -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:-EpsilonElasticTLABDecay                               TestElasticTLABDecay
+ * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:-EpsilonElasticTLABDecay                               TestElasticTLABDecay
  * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:+EpsilonElasticTLABDecay -XX:EpsilonTLABDecayTime=1    TestElasticTLABDecay
- * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:+EpsilonElasticTLABDecay -XX:EpsilonTLABDecayTime=10   TestElasticTLABDecay
  * @run main/othervm -Xmx1g -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+EpsilonElasticTLAB -XX:+EpsilonElasticTLABDecay -XX:EpsilonTLABDecayTime=100  TestElasticTLABDecay
  */
 
@@ -51,7 +50,7 @@
       for (int v = 0; v < c; v++) {
         arr[c][v] = (byte)(r.nextInt(255) & 0xFF);
       }
-      //Thread.sleep(10);
+      Thread.sleep(5);
     }
 
     r = new Random(SEED);