hotspot/test/compiler/c2/cr7200264/TestDriver.java
changeset 44584 8cd22f56bfca
parent 43411 3f60d402df95
equal deleted inserted replaced
44509:02253db2ace1 44584:8cd22f56bfca
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 package compiler.c2.cr7200264;
    24 package compiler.c2.cr7200264;
    25 
    25 
    26 import java.util.HashMap;
    26 import java.util.HashMap;
    27 import java.util.List;
    27 import java.util.List;
    28 import java.util.Map;
    28 import java.util.Map;
    29 import java.util.regex.Pattern;
       
    30 
    29 
    31 import jdk.test.lib.Asserts;
    30 import jdk.test.lib.Asserts;
    32 import jdk.test.lib.process.OutputAnalyzer;
    31 import jdk.test.lib.process.OutputAnalyzer;
    33 import jdk.test.lib.process.ProcessTools;
    32 import jdk.test.lib.process.ProcessTools;
    34 
    33 
    43     public void run() throws Throwable {
    42     public void run() throws Throwable {
    44         verifyVectorizationNumber(executeApplication());
    43         verifyVectorizationNumber(executeApplication());
    45     }
    44     }
    46 
    45 
    47     private List<String> executeApplication() throws Throwable {
    46     private List<String> executeApplication() throws Throwable {
    48         OutputAnalyzer outputAnalyzer = ProcessTools.executeTestJvmAllArgs(
    47         OutputAnalyzer outputAnalyzer = ProcessTools.executeTestJvm(
    49             "-Xbatch",
    48             "-Xbatch",
    50             "-XX:-TieredCompilation",
    49             "-XX:-TieredCompilation",
    51             "-XX:+PrintCompilation",
    50             "-XX:+PrintCompilation",
    52             "-XX:+TraceNewVectors",
    51             "-XX:+TraceNewVectors",
    53             TestIntVect.class.getName());
    52             TestIntVect.class.getName());