changeset 52984:5261951acd41

8146090: java/lang/ref/ReachabilityFenceTest.java fails with -XX:+DeoptimizeALot Reviewed-by: dholmes, iignatyev
author vlivanov
date Tue, 04 Dec 2018 17:18:11 -0800
parents c0f40bca91a5
children f6005102c6ef
files test/jdk/java/lang/ref/ReachabilityFenceTest.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/lang/ref/ReachabilityFenceTest.java	Wed Dec 05 08:48:49 2018 +0800
+++ b/test/jdk/java/lang/ref/ReachabilityFenceTest.java	Tue Dec 04 17:18:11 2018 -0800
@@ -25,6 +25,8 @@
  * @bug 8133348
  * @summary Tests if reachabilityFence is working
  *
+ * @requires vm.opt.DeoptimizeALot != true
+ *
  * @run main/othervm -Xint                   -Dpremature=false ReachabilityFenceTest
  * @run main/othervm -XX:TieredStopAtLevel=1 -Dpremature=true  ReachabilityFenceTest
  * @run main/othervm -XX:TieredStopAtLevel=2 -Dpremature=true  ReachabilityFenceTest
@@ -142,4 +144,4 @@
             finalized.set(true);
         }
     }
-}
\ No newline at end of file
+}