< prev index next >

test/compiler/whitebox/LockCompilationTest.java

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

*** 22,47 **** */ /* * @test LockCompilationTest * @bug 8059624 8152169 * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build LockCompilationTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay LockCompilationTest ! * @summary testing of WB::lock/unlockCompilation() */ ! import java.io.OutputStream; ! import java.io.PrintWriter; ! import java.util.concurrent.BrokenBarrierException; ! import java.util.concurrent.CyclicBarrier; - import compiler.whitebox.CompilerWhiteBoxTest; import jdk.test.lib.Asserts; public class LockCompilationTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception { --- 22,45 ---- */ /* * @test LockCompilationTest * @bug 8059624 8152169 + * @summary testing of WB::lock/unlockCompilation() * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * java.management ! * @build compiler.whitebox.LockCompilationTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:-UseCounterDecay ! * compiler.whitebox.LockCompilationTest */ ! package compiler.whitebox; import jdk.test.lib.Asserts; public class LockCompilationTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception {
< prev index next >