< prev index next >

test/compiler/tiered/TransitionsTestExecutor.java

Print this page




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package compiler.tiered;
  25 
  26 import compiler.whitebox.CompilerWhiteBoxTest;
  27 import jdk.test.lib.OutputAnalyzer;
  28 import jdk.test.lib.ProcessTools;
  29 
  30 import java.lang.management.ManagementFactory;
  31 import java.lang.management.RuntimeMXBean;
  32 import java.util.ArrayList;
  33 import java.util.Collections;
  34 import java.util.List;
  35 
  36 /**
  37  * Executes given test in a separate VM with enabled Tiered Compilation for
  38  * CompilationPolicyChoice 2 and 3
  39  */
  40 public class TransitionsTestExecutor {
  41     public static void main(String[] args) throws Throwable {
  42         if (CompilerWhiteBoxTest.skipOnTieredCompilation(false)) {
  43             return;
  44         }
  45         if (args.length != 1) {
  46             throw new Error("TESTBUG: Test name should be specified");
  47         }
  48         executeTestFor(2, args[0]);


   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package compiler.tiered;
  25 
  26 import compiler.whitebox.CompilerWhiteBoxTest;
  27 import jdk.test.lib.process.OutputAnalyzer;
  28 import jdk.test.lib.process.ProcessTools;
  29 
  30 import java.lang.management.ManagementFactory;
  31 import java.lang.management.RuntimeMXBean;
  32 import java.util.ArrayList;
  33 import java.util.Collections;
  34 import java.util.List;
  35 
  36 /**
  37  * Executes given test in a separate VM with enabled Tiered Compilation for
  38  * CompilationPolicyChoice 2 and 3
  39  */
  40 public class TransitionsTestExecutor {
  41     public static void main(String[] args) throws Throwable {
  42         if (CompilerWhiteBoxTest.skipOnTieredCompilation(false)) {
  43             return;
  44         }
  45         if (args.length != 1) {
  46             throw new Error("TESTBUG: Test name should be specified");
  47         }
  48         executeTestFor(2, args[0]);
< prev index next >