mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
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
403 changed files with 444 additions and 91 deletions
|
@ -35,6 +35,7 @@ import jdk.test.lib.Asserts;
|
|||
* @test OverflowCodeCacheTest
|
||||
* @bug 8059550
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build OverflowCodeCacheTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
|
@ -48,6 +48,7 @@ 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
|
||||
|
|
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||
/**
|
||||
* @test BeanTypeTest
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build BeanTypeTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||
/**
|
||||
* @test CodeHeapBeanPresenceTest
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build CodeHeapBeanPresenceTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
|
@ -28,6 +28,7 @@ import sun.hotspot.code.BlobType;
|
|||
/**
|
||||
* @test ManagerNamesTest
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build ManagerNamesTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
|
@ -33,6 +33,7 @@ import sun.hotspot.code.BlobType;
|
|||
/**
|
||||
* @test MemoryPoolsPresenceTest
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build MemoryPoolsPresenceTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
|
@ -37,6 +37,7 @@ import sun.hotspot.code.BlobType;
|
|||
|
||||
/*
|
||||
* @test PoolsIndependenceTest
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib
|
||||
* @build PoolsIndependenceTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue