8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found"
Reviewed-by: thartmann
--- 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