test/hotspot/jtreg/compiler/loopopts/UseCountedLoopSafepointsTest.java
changeset 48316 4d28288c9f9e
parent 48145 f913f6dba2d3
equal deleted inserted replaced
48315:32fd4be602d5 48316:4d28288c9f9e
    60     private static void check(boolean enabled) {
    60     private static void check(boolean enabled) {
    61         OutputAnalyzer oa;
    61         OutputAnalyzer oa;
    62         try {
    62         try {
    63             oa = ProcessTools.executeTestJvm("-XX:+UnlockDiagnosticVMOptions", "-Xbootclasspath/a:.",
    63             oa = ProcessTools.executeTestJvm("-XX:+UnlockDiagnosticVMOptions", "-Xbootclasspath/a:.",
    64                                              "-XX:" + (enabled ? "+" : "-") + "UseCountedLoopSafepoints",
    64                                              "-XX:" + (enabled ? "+" : "-") + "UseCountedLoopSafepoints",
    65                                              "-XX:LoopStripMiningIter=" + (enabled ? "1" : "0"), "-XX:+WhiteBoxAPI",
    65                                              "-XX:+WhiteBoxAPI",
    66                     "-XX:-Inline", "-Xbatch", "-XX:+PrintIdeal", "-XX:LoopUnrollLimit=0",
    66                     "-XX:-Inline", "-Xbatch", "-XX:+PrintIdeal", "-XX:LoopUnrollLimit=0",
    67                     "-XX:CompileOnly=" + UseCountedLoopSafepoints.class.getName() + "::testMethod",
    67                     "-XX:CompileOnly=" + UseCountedLoopSafepoints.class.getName() + "::testMethod",
    68                     UseCountedLoopSafepoints.class.getName());
    68                     UseCountedLoopSafepoints.class.getName());
    69         } catch (Exception e) {
    69         } catch (Exception e) {
    70             throw new Error("Exception launching child for case enabled=" + enabled + " : " + e, e);
    70             throw new Error("Exception launching child for case enabled=" + enabled + " : " + e, e);