< prev index next >
test/compiler/codecache/dtrace/SegmentedCodeCacheDtraceTest.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 19,34 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! import com.oracle.java.testlibrary.Asserts;
! import com.oracle.java.testlibrary.JDKToolFinder;
! import com.oracle.java.testlibrary.OutputAnalyzer;
! import com.oracle.java.testlibrary.Utils;
! import com.oracle.java.testlibrary.dtrace.DtraceResultsAnalyzer;
! import com.oracle.java.testlibrary.dtrace.DtraceRunner;
import java.io.IOException;
import java.lang.reflect.Executable;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
--- 19,34 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! import jdk.test.lib.Asserts;
! import jdk.test.lib.JDKToolFinder;
! import jdk.test.lib.OutputAnalyzer;
! import jdk.test.lib.Utils;
! import jdk.test.lib.dtrace.DtraceResultsAnalyzer;
! import jdk.test.lib.dtrace.DtraceRunner;
import java.io.IOException;
import java.lang.reflect.Executable;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
*** 113,123 ****
return null;
}
public static void main(String args[]) {
int iterations
! = Integer.getInteger("com.oracle.java.testlibrary.iterations", 1);
if (!DtraceRunner.dtraceAvailable()) {
System.out.println("INFO: There is no dtrace avaiable. Skipping.");
return;
}
int[] availableLevels = CompilerUtils.getAvailableCompilationLevels();
--- 113,123 ----
return null;
}
public static void main(String args[]) {
int iterations
! = Integer.getInteger("jdk.test.lib.iterations", 1);
if (!DtraceRunner.dtraceAvailable()) {
System.out.println("INFO: There is no dtrace avaiable. Skipping.");
return;
}
int[] availableLevels = CompilerUtils.getAvailableCompilationLevels();
< prev index next >