8175512: new TestPrintMdo.java fails with -XX:TieredStopAtLevel=1
Summary: Avoid running the test for -XX:TieredStopAtLevel=1 due to the lack of mdo data from JIT in this case.
Reviewed-by: dsamersoff, sspitsyn
Contributed-by: jini.george@oracle.com
--- a/hotspot/test/serviceability/sa/TestPrintMdo.java Mon Feb 27 15:59:22 2017 -0800
+++ b/hotspot/test/serviceability/sa/TestPrintMdo.java Tue Feb 28 10:10:14 2017 +0530
@@ -39,7 +39,7 @@
/*
* @test
* @library /test/lib
- * @requires vm.flavor == "server" & !vm.emulatedClient
+ * @requires vm.flavor == "server" & !vm.emulatedClient & !(vm.opt.TieredStopAtLevel == 1)
* @build jdk.test.lib.apps.*
* @run main/othervm TestPrintMdo
*/