mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
This commit is contained in:
parent
3ba0af5c09
commit
820b9e7a16
41 changed files with 81 additions and 77 deletions
|
@ -45,7 +45,7 @@ package compiler.jvmci.compilerToVM;
|
|||
|
||||
import jdk.internal.misc.Unsafe;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.Utils;
|
||||
import jdk.test.lib.unsafe.UnsafeHelper;
|
||||
import jdk.vm.ci.hotspot.CompilerToVMHelper;
|
||||
import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
|
||||
import jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject;
|
||||
|
@ -114,7 +114,7 @@ public class GetResolvedJavaMethodTest {
|
|||
abstract HotSpotResolvedJavaMethod getResolvedJavaMethod();
|
||||
}
|
||||
|
||||
private static final Unsafe UNSAFE = Utils.getUnsafe();
|
||||
private static final Unsafe UNSAFE = UnsafeHelper.getUnsafe();
|
||||
private static final WhiteBox WB = WhiteBox.getWhiteBox();
|
||||
private static final Field METASPACE_METHOD_FIELD;
|
||||
private static final Class<?> TEST_CLASS = GetResolvedJavaMethodTest.class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue