< prev index next >

test/compiler/codecache/dtrace/SegmentedCodeCacheDtraceTest.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 19,35 **** --- 19,54 ---- * 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. */ + /* + * @test SegmentedCodeCacheDtraceTest + * @bug 8015774 + * @summary testing of dtrace for segmented code cache + * @requires os.family=="solaris" + * @modules java.base/jdk.internal.misc + * @library /testlibrary /test/lib / + * + * @build compiler.codecache.dtrace.SegmentedCodeCacheDtraceTest + * @run driver ClassFileInstaller sun.hotspot.WhiteBox + * sun.hotspot.WhiteBox$WhiteBoxPermission + * @run main/othervm/timeout=600 -Xbootclasspath/a:. + * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI + * compiler.codecache.dtrace.SegmentedCodeCacheDtraceTest + */ + + package compiler.codecache.dtrace; + import compiler.testlibrary.CompilerUtils; 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;
*** 42,65 **** import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; - /* - * @test SegmentedCodeCacheDtraceTest - * @bug 8015774 - * @requires os.family=="solaris" - * @modules java.base/jdk.internal.misc - * @library /testlibrary / /test/lib - * @build SegmentedCodeCacheDtraceTestWorker - * @run main ClassFileInstaller sun.hotspot.WhiteBox - * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+TieredCompilation - * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI - * SegmentedCodeCacheDtraceTest - * @summary testing of dtrace for segmented code cache - */ public class SegmentedCodeCacheDtraceTest { private static final String WORKER_CLASS_NAME = SegmentedCodeCacheDtraceTestWorker.class.getName(); private static final String JAVA_OPTS = " -XX:+DTraceMethodProbes " --- 61,70 ----
< prev index next >