8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found"
authordpochepk
Tue, 10 Jan 2017 20:45:04 +0300
changeset 43434 d384dd8f82df
parent 43433 acc1d9072823
child 43436 816e2f29711b
8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found" Reviewed-by: thartmann
hotspot/test/compiler/loopopts/UseCountedLoopSafepointsTest.java
--- a/hotspot/test/compiler/loopopts/UseCountedLoopSafepointsTest.java	Mon Jan 09 19:36:47 2017 +0000
+++ b/hotspot/test/compiler/loopopts/UseCountedLoopSafepointsTest.java	Tue Jan 10 20:45:04 2017 +0300
@@ -27,7 +27,7 @@
  * @bug 6869327
  * @summary Test that C2 flag UseCountedLoopSafepoints ensures a safepoint is kept in a CountedLoop
  * @library /test/lib /
- * @requires vm.compMode != "Xint" & vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
+ * @requires vm.compMode != "Xint" & vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4) & vm.debug == true
  * @modules java.base/jdk.internal.misc
  * @build sun.hotspot.WhiteBox
  * @run driver ClassFileInstaller sun.hotspot.WhiteBox