8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe Reviewed-by: chegar, kvn
This commit is contained in:
parent
da0fe9d476
commit
85deb5aa7e
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 5057225
|
* @bug 5057225
|
||||||
* @summary Remove useless I2L conversions
|
* @summary Remove useless I2L conversions
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xcomp -XX:CompileOnly=Test5057225.doload Test5057225
|
* @run main/othervm -Xcomp -XX:CompileOnly=Test5057225.doload Test5057225
|
||||||
*/
|
*/
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 6603011
|
* @bug 6603011
|
||||||
* @summary long/int division by constant
|
* @summary long/int division by constant
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xcomp -Xbatch -XX:-Inline Test
|
* @run main/othervm -Xcomp -Xbatch -XX:-Inline Test
|
||||||
*/
|
*/
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 6800154
|
* @bug 6800154
|
||||||
* @summary Add comments to long_by_long_mulhi() for better understandability
|
* @summary Add comments to long_by_long_mulhi() for better understandability
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xcomp -XX:CompileOnly=Test6800154.divcomp Test6800154
|
* @run main/othervm -Xcomp -XX:CompileOnly=Test6800154.divcomp Test6800154
|
||||||
*/
|
*/
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @bug 6805724
|
* @bug 6805724
|
||||||
* @summary ModLNode::Ideal() generates functionally incorrect graph
|
* @summary ModLNode::Ideal() generates functionally incorrect graph
|
||||||
* when divisor is any (2^k-1) constant.
|
* when divisor is any (2^k-1) constant.
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xcomp -XX:CompileOnly=Test6805724.fcomp Test6805724
|
* @run main/othervm -Xcomp -XX:CompileOnly=Test6805724.fcomp Test6805724
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
* @run main Test6968348
|
* @run main Test6968348
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
|
|
||||||
public class Test6968348 {
|
public class Test6968348 {
|
||||||
@ -40,7 +40,7 @@ public class Test6968348 {
|
|||||||
static int array_long_base_offset;
|
static int array_long_base_offset;
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
Class c = Test6968348.class.getClassLoader().loadClass("sun.misc.Unsafe");
|
Class c = Test6968348.class.getClassLoader().loadClass("jdk.internal.misc.Unsafe");
|
||||||
Field f = c.getDeclaredField("theUnsafe");
|
Field f = c.getDeclaredField("theUnsafe");
|
||||||
f.setAccessible(true);
|
f.setAccessible(true);
|
||||||
unsafe = (Unsafe)f.get(c);
|
unsafe = (Unsafe)f.get(c);
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
import java.lang.ref.*;
|
import java.lang.ref.*;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
|
|
||||||
public class Test7190310_unsafe {
|
public class Test7190310_unsafe {
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ public class Test7190310_unsafe {
|
|||||||
private TestObject obj;
|
private TestObject obj;
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
Class c = Test7190310_unsafe.class.getClassLoader().loadClass("sun.misc.Unsafe");
|
Class c = Test7190310_unsafe.class.getClassLoader().loadClass("jdk.internal.misc.Unsafe");
|
||||||
Field f = c.getDeclaredField("theUnsafe");
|
Field f = c.getDeclaredField("theUnsafe");
|
||||||
f.setAccessible(true);
|
f.setAccessible(true);
|
||||||
Unsafe unsafe = (Unsafe)f.get(c);
|
Unsafe unsafe = (Unsafe)f.get(c);
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeCAS
|
* @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeCAS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
|
|
||||||
public class TestIntUnsafeCAS {
|
public class TestIntUnsafeCAS {
|
||||||
@ -47,7 +47,7 @@ public class TestIntUnsafeCAS {
|
|||||||
private static final int BASE;
|
private static final int BASE;
|
||||||
static {
|
static {
|
||||||
try {
|
try {
|
||||||
Class c = TestIntUnsafeCAS.class.getClassLoader().loadClass("sun.misc.Unsafe");
|
Class c = TestIntUnsafeCAS.class.getClassLoader().loadClass("jdk.internal.misc.Unsafe");
|
||||||
Field f = c.getDeclaredField("theUnsafe");
|
Field f = c.getDeclaredField("theUnsafe");
|
||||||
f.setAccessible(true);
|
f.setAccessible(true);
|
||||||
unsafe = (Unsafe)f.get(c);
|
unsafe = (Unsafe)f.get(c);
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeVolatile
|
* @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeVolatile
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
|
|
||||||
public class TestIntUnsafeVolatile {
|
public class TestIntUnsafeVolatile {
|
||||||
@ -47,7 +47,7 @@ public class TestIntUnsafeVolatile {
|
|||||||
private static final int BASE;
|
private static final int BASE;
|
||||||
static {
|
static {
|
||||||
try {
|
try {
|
||||||
Class c = TestIntUnsafeVolatile.class.getClassLoader().loadClass("sun.misc.Unsafe");
|
Class c = TestIntUnsafeVolatile.class.getClassLoader().loadClass("jdk.internal.misc.Unsafe");
|
||||||
Field f = c.getDeclaredField("theUnsafe");
|
Field f = c.getDeclaredField("theUnsafe");
|
||||||
f.setAccessible(true);
|
f.setAccessible(true);
|
||||||
unsafe = (Unsafe)f.get(c);
|
unsafe = (Unsafe)f.get(c);
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @build compiler.calls.common.InvokeDynamic
|
* @build compiler.calls.common.InvokeDynamic
|
||||||
* @build compiler.calls.common.InvokeDynamicPatcher
|
* @build compiler.calls.common.InvokeDynamicPatcher
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeInterface
|
* @build compiler.calls.common.InvokeInterface
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeSpecial
|
* @build compiler.calls.common.InvokeSpecial
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeStatic
|
* @build compiler.calls.common.InvokeStatic
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /testlibrary /
|
* @library /test/lib /testlibrary /
|
||||||
* @build compiler.calls.common.InvokeVirtual
|
* @build compiler.calls.common.InvokeVirtual
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import sun.hotspot.WhiteBox;
|
import sun.hotspot.WhiteBox;
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
@ -31,6 +31,7 @@ import java.net.URLClassLoader;
|
|||||||
* @test MethodUnloadingTest
|
* @test MethodUnloadingTest
|
||||||
* @bug 8029443
|
* @bug 8029443
|
||||||
* @summary "Tests the unloading of methods to to class unloading"
|
* @summary "Tests the unloading of methods to to class unloading"
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @build TestMethodUnloading
|
* @build TestMethodUnloading
|
||||||
* @build WorkerClass
|
* @build WorkerClass
|
||||||
|
@ -35,6 +35,7 @@ import jdk.test.lib.Asserts;
|
|||||||
* @test OverflowCodeCacheTest
|
* @test OverflowCodeCacheTest
|
||||||
* @bug 8059550
|
* @bug 8059550
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build OverflowCodeCacheTest
|
* @build OverflowCodeCacheTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -48,6 +48,7 @@ import java.util.stream.Collectors;
|
|||||||
* @test SegmentedCodeCacheDtraceTest
|
* @test SegmentedCodeCacheDtraceTest
|
||||||
* @bug 8015774
|
* @bug 8015774
|
||||||
* @requires os.family=="solaris"
|
* @requires os.family=="solaris"
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary / /test/lib
|
* @library /testlibrary / /test/lib
|
||||||
* @build SegmentedCodeCacheDtraceTestWorker
|
* @build SegmentedCodeCacheDtraceTestWorker
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||||||
/**
|
/**
|
||||||
* @test BeanTypeTest
|
* @test BeanTypeTest
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build BeanTypeTest
|
* @build BeanTypeTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||||||
/**
|
/**
|
||||||
* @test CodeHeapBeanPresenceTest
|
* @test CodeHeapBeanPresenceTest
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build CodeHeapBeanPresenceTest
|
* @build CodeHeapBeanPresenceTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||||||
/**
|
/**
|
||||||
* @test ManagerNamesTest
|
* @test ManagerNamesTest
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build ManagerNamesTest
|
* @build ManagerNamesTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -33,6 +33,7 @@ import sun.hotspot.code.BlobType;
|
|||||||
/**
|
/**
|
||||||
* @test MemoryPoolsPresenceTest
|
* @test MemoryPoolsPresenceTest
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build MemoryPoolsPresenceTest
|
* @build MemoryPoolsPresenceTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -37,6 +37,7 @@ import sun.hotspot.code.BlobType;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test PoolsIndependenceTest
|
* @test PoolsIndependenceTest
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @build PoolsIndependenceTest
|
* @build PoolsIndependenceTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 6823354
|
* @bug 6823354
|
||||||
* @summary These methods can be instrinsified by using bit scan, bit test, and population count instructions.
|
* @summary These methods can be instrinsified by using bit scan, bit test, and population count instructions.
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xcomp -XX:CompileOnly=Test6823354.lzcomp,Test6823354.tzcomp,.dolzcomp,.dotzcomp Test6823354
|
* @run main/othervm -Xcomp -XX:CompileOnly=Test6823354.lzcomp,Test6823354.tzcomp,.dolzcomp,.dotzcomp Test6823354
|
||||||
*/
|
*/
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test InlineMatcherTest
|
* @test InlineMatcherTest
|
||||||
* @bug 8074095
|
* @bug 8074095
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @build sun.hotspot.WhiteBox
|
* @build sun.hotspot.WhiteBox
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=compileonly
|
* @summary Tests CompileCommand=compileonly
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commandfile.CompileOnlyTest
|
* @build compiler.compilercontrol.commandfile.CompileOnlyTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=exclude
|
* @summary Tests CompileCommand=exclude
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commandfile.ExcludeTest
|
* @build compiler.compilercontrol.commandfile.ExcludeTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=log
|
* @summary Tests CompileCommand=log
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commandfile.LogTest
|
* @build compiler.compilercontrol.commandfile.LogTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=print
|
* @summary Tests CompileCommand=print
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commandfile.PrintTest
|
* @build compiler.compilercontrol.commandfile.PrintTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=compileonly
|
* @summary Tests CompileCommand=compileonly
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commands.CompileOnlyTest
|
* @build compiler.compilercontrol.commands.CompileOnlyTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=exclude
|
* @summary Tests CompileCommand=exclude
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commands.ExcludeTest
|
* @build compiler.compilercontrol.commands.ExcludeTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=log
|
* @summary Tests CompileCommand=log
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commands.LogTest
|
* @build compiler.compilercontrol.commands.LogTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests CompileCommand=print
|
* @summary Tests CompileCommand=print
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.commands.PrintTest
|
* @build compiler.compilercontrol.commands.PrintTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directives to be able to compile only specified methods
|
* @summary Tests directives to be able to compile only specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.directives.CompileOnlyTest
|
* @build compiler.compilercontrol.directives.CompileOnlyTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directives to be able to exclude methods from compilation
|
* @summary Tests directives to be able to exclude methods from compilation
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.directives.ExcludeTest
|
* @build compiler.compilercontrol.directives.ExcludeTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directives to be able to turn on LogCompilation
|
* @summary Tests directives to be able to turn on LogCompilation
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.directives.LogTest
|
* @build compiler.compilercontrol.directives.LogTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directives to be able to turn on print_assembly
|
* @summary Tests directives to be able to turn on print_assembly
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.directives.PrintTest
|
* @build compiler.compilercontrol.directives.PrintTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directives to be able to add and remove directives
|
* @summary Tests directives to be able to add and remove directives
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.AddAndRemoveTest
|
* @build compiler.compilercontrol.jcmd.AddAndRemoveTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.AddCompileOnlyTest
|
* @build compiler.compilercontrol.jcmd.AddCompileOnlyTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a directive to exclude only specified methods
|
* @summary Tests jcmd to be able to add a directive to exclude only specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.AddExcludeTest
|
* @build compiler.compilercontrol.jcmd.AddExcludeTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a directive to log only specified methods
|
* @summary Tests jcmd to be able to add a directive to log only specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.AddLogTest
|
* @build compiler.compilercontrol.jcmd.AddLogTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a directive to print assembly
|
* @summary Tests jcmd to be able to add a directive to print assembly
|
||||||
* only for specified methods
|
* only for specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.AddPrintAssemblyTest
|
* @build compiler.compilercontrol.jcmd.AddPrintAssemblyTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @ignore 8140405
|
* @ignore 8140405
|
||||||
* @summary Tests jcmd to be able to clear directives added via options
|
* @summary Tests jcmd to be able to clear directives added via options
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest
|
* @build compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests clear JCMD command
|
* @summary Tests clear JCMD command
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.ClearDirectivesStackTest
|
* @build compiler.compilercontrol.jcmd.ClearDirectivesStackTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.PrintDirectivesTest
|
* @build compiler.compilercontrol.jcmd.PrintDirectivesTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests jcmd to be able to add a lot of huge directive files with
|
* @summary Tests jcmd to be able to add a lot of huge directive files with
|
||||||
* parallel executed jcmds until timeout has reached
|
* parallel executed jcmds until timeout has reached
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.jcmd.StressAddMultiThreadedTest
|
* @build compiler.compilercontrol.jcmd.StressAddMultiThreadedTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -40,6 +40,7 @@ import java.util.regex.Pattern;
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8135068
|
* @bug 8135068
|
||||||
* @summary Tests CompilerCommand's method matcher
|
* @summary Tests CompilerCommand's method matcher
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/whitebox ../share /
|
* @library /testlibrary /test/lib /compiler/whitebox ../share /
|
||||||
* @build compiler.compilercontrol.matcher.MethodMatcherTest
|
* @build compiler.compilercontrol.matcher.MethodMatcherTest
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Randomly generates commands with random types
|
* @summary Randomly generates commands with random types
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.mixed.RandomCommandsTest
|
* @build compiler.compilercontrol.mixed.RandomCommandsTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Randomly generates valid commands with random types
|
* @summary Randomly generates valid commands with random types
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||||
* @build compiler.compilercontrol.mixed.RandomValidCommandsTest
|
* @build compiler.compilercontrol.mixed.RandomValidCommandsTest
|
||||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Tests directive json parser
|
* @summary Tests directive json parser
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib ../share /
|
* @library /testlibrary /test/lib ../share /
|
||||||
* @run driver compiler.compilercontrol.parser.DirectiveParserTest
|
* @run driver compiler.compilercontrol.parser.DirectiveParserTest
|
||||||
*/
|
*/
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8137167
|
* @bug 8137167
|
||||||
* @summary Stress directive json parser
|
* @summary Stress directive json parser
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib ../share /
|
* @library /testlibrary /test/lib ../share /
|
||||||
* @run driver compiler.compilercontrol.parser.DirectiveStressTest
|
* @run driver compiler.compilercontrol.parser.DirectiveStressTest
|
||||||
*/
|
*/
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
|
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
|
||||||
* -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort
|
* -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
|
|
||||||
public class TestUnsafePutAddressNullObjMustNotEscape {
|
public class TestUnsafePutAddressNullObjMustNotEscape {
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ public class TestUnsafePutAddressNullObjMustNotEscape {
|
|||||||
System.out.println("EXECUTING test.");
|
System.out.println("EXECUTING test.");
|
||||||
|
|
||||||
{
|
{
|
||||||
System.out.println("Acquiring sun.misc.Unsafe.theUnsafe using reflection.");
|
System.out.println("Acquiring jdk.internal.misc.Unsafe.theUnsafe using reflection.");
|
||||||
getUnsafe();
|
getUnsafe();
|
||||||
System.out.println("Allocating raw memory.");
|
System.out.println("Allocating raw memory.");
|
||||||
mem = (usafe.allocateMemory(1024) + 8L) & ~7L;
|
mem = (usafe.allocateMemory(1024) + 8L) & ~7L;
|
||||||
@ -78,8 +78,8 @@ public class TestUnsafePutAddressNullObjMustNotEscape {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void getUnsafe() throws Exception {
|
private static void getUnsafe() throws Exception {
|
||||||
Field field = sun.misc.Unsafe.class.getDeclaredField("theUnsafe");
|
Field field = jdk.internal.misc.Unsafe.class.getDeclaredField("theUnsafe");
|
||||||
field.setAccessible(true);
|
field.setAccessible(true);
|
||||||
usafe = (sun.misc.Unsafe) field.get(null);
|
usafe = (jdk.internal.misc.Unsafe) field.get(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @bug 8063086
|
* @bug 8063086
|
||||||
* @summary X^2 special case for C2 yields different result than interpreter
|
* @summary X^2 special case for C2 yields different result than interpreter
|
||||||
* @library /testlibrary /test/lib /compiler/whitebox /
|
* @library /testlibrary /test/lib /compiler/whitebox /
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.management
|
* @modules java.management
|
||||||
* @build TestPow2
|
* @build TestPow2
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8140650
|
* @bug 8140650
|
||||||
* @summary Method::is_accessor should cover getters and setters for all types
|
* @summary Method::is_accessor should cover getters and setters for all types
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm InlineAccessors
|
* @run main/othervm InlineAccessors
|
||||||
*/
|
*/
|
||||||
|
@ -29,6 +29,7 @@ import compiler.whitebox.CompilerWhiteBoxTest;
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8130832
|
* @bug 8130832
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib /compiler/whitebox /compiler/testlibrary /
|
* @library /testlibrary /test/lib /compiler/whitebox /compiler/testlibrary /
|
||||||
* @build IntrinsicAvailableTest
|
* @build IntrinsicAvailableTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8138651
|
* @bug 8138651
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @build IntrinsicDisabledTest
|
* @build IntrinsicDisabledTest
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8033626
|
* @bug 8033626
|
||||||
* @summary assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
|
* @summary assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -XX:-TieredCompilation -Xbatch -XX:CompileOnly=TestObjectClone::f TestObjectClone
|
* @run main/othervm -XX:-TieredCompilation -Xbatch -XX:CompileOnly=TestObjectClone::f TestObjectClone
|
||||||
*/
|
*/
|
||||||
|
@ -42,6 +42,7 @@ import jdk.test.lib.Platform;
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8130150 8131779 8139907
|
* @bug 8130150 8131779 8139907
|
||||||
* @summary Verify that the Montgomery multiply and square intrinsic works and correctly checks their arguments.
|
* @summary Verify that the Montgomery multiply and square intrinsic works and correctly checks their arguments.
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @build MontgomeryMultiplyTest
|
* @build MontgomeryMultiplyTest
|
||||||
|
@ -27,6 +27,7 @@ import jdk.test.lib.Asserts;
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8144212
|
* @bug 8144212
|
||||||
* @summary Check for correct memory flow with the String compress/inflate intrinsics.
|
* @summary Check for correct memory flow with the String compress/inflate intrinsics.
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main TestStringIntrinsicMemoryFlow
|
* @run main TestStringIntrinsicMemoryFlow
|
||||||
*/
|
*/
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* @test
|
* @test
|
||||||
* @bug 8145336
|
* @bug 8145336
|
||||||
* @summary PPC64: fix string intrinsics after CompactStrings change
|
* @summary PPC64: fix string intrinsics after CompactStrings change
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @build sun.hotspot.WhiteBox
|
* @build sun.hotspot.WhiteBox
|
||||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
|
@ -36,6 +36,7 @@ import jdk.test.lib.Utils;
|
|||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
* @bug 8026049
|
* @bug 8026049
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=0 HeapByteBufferTest
|
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=0 HeapByteBufferTest
|
||||||
* @run main/othervm -Djdk.test.lib.random.seed=0 HeapByteBufferTest
|
* @run main/othervm -Djdk.test.lib.random.seed=0 HeapByteBufferTest
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
* @bug 8142386
|
* @bug 8142386
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary /test/lib
|
* @library /testlibrary /test/lib
|
||||||
* @summary Unsafe access to an array is wrongly marked as mismatched
|
* @summary Unsafe access to an array is wrongly marked as mismatched
|
||||||
* @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:-TieredCompilation TestUnsafeMismatchedArrayFieldAccess
|
* @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:-TieredCompilation TestUnsafeMismatchedArrayFieldAccess
|
||||||
@ -33,7 +34,7 @@
|
|||||||
|
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
import jdk.test.lib.Utils;
|
import jdk.test.lib.Utils;
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
|
|
||||||
public class TestUnsafeMismatchedArrayFieldAccess {
|
public class TestUnsafeMismatchedArrayFieldAccess {
|
||||||
|
|
||||||
|
@ -30,21 +30,21 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
|
|
||||||
public class UnsafeGetAddressTest {
|
public class UnsafeGetAddressTest {
|
||||||
private static Unsafe unsafe;
|
private static Unsafe unsafe;
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
Class c = UnsafeGetAddressTest.class.getClassLoader().loadClass("sun.misc.Unsafe");
|
Class c = UnsafeGetAddressTest.class.getClassLoader().loadClass("jdk.internal.misc.Unsafe");
|
||||||
Field f = c.getDeclaredField("theUnsafe");
|
Field f = c.getDeclaredField("theUnsafe");
|
||||||
f.setAccessible(true);
|
f.setAccessible(true);
|
||||||
unsafe = (Unsafe)f.get(c);
|
unsafe = (Unsafe)f.get(c);
|
||||||
|
|
||||||
long address = unsafe.allocateMemory(unsafe.addressSize());
|
long address = unsafe.allocateMemory(unsafe.addressSize());
|
||||||
unsafe.putAddress(address, 0x0000000080000000L);
|
unsafe.putAddress(address, 0x0000000080000000L);
|
||||||
// from sun.misc.Unsafe.getAddress' documentation:
|
// from jdk.internal.misc.Unsafe.getAddress' documentation:
|
||||||
// "If the native pointer is less than 64 bits wide, it is
|
// "If the native pointer is less than 64 bits wide, it is
|
||||||
// extended as an unsigned number to a Java long."
|
// extended as an unsigned number to a Java long."
|
||||||
result = unsafe.getAddress(address);
|
result = unsafe.getAddress(address);
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
* @bug 8057967
|
* @bug 8057967
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||||
* @library patches
|
* @library patches
|
||||||
* @build java.base/java.lang.invoke.MethodHandleHelper
|
* @build java.base/java.lang.invoke.MethodHandleHelper
|
||||||
@ -46,7 +47,7 @@ import java.lang.ref.ReferenceQueue;
|
|||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
|
|
||||||
import jdk.internal.org.objectweb.asm.*;
|
import jdk.internal.org.objectweb.asm.*;
|
||||||
import sun.misc.Unsafe;
|
import jdk.internal.misc.Unsafe;
|
||||||
|
|
||||||
import static jdk.internal.org.objectweb.asm.Opcodes.*;
|
import static jdk.internal.org.objectweb.asm.Opcodes.*;
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
* @run main ContinuousCallSiteTargetChange
|
* @run main ContinuousCallSiteTargetChange
|
||||||
*/
|
*/
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8067247
|
* @bug 8067247
|
||||||
|
* @modules java.base/jdk.internal.misc
|
||||||
* @library /test/lib /compiler/whitebox /
|
* @library /test/lib /compiler/whitebox /
|
||||||
* @run main/bootclasspath -Xcomp -Xbatch
|
* @run main/bootclasspath -Xcomp -Xbatch
|
||||||
* -XX:CompileCommand=compileonly,InvokerGC::test
|
* -XX:CompileCommand=compileonly,InvokerGC::test
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user