mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -25,12 +25,13 @@
|
|||
* @test
|
||||
* @bug 8077504
|
||||
* @summary Unsafe load can loose control dependency and cause crash
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestUnsafeLoadControl
|
||||
*
|
||||
*/
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import sun.misc.Unsafe;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
|
||||
public class TestUnsafeLoadControl {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue