Home
last modified time | relevance | path

Searched refs:Unsafe (Results 1 – 17 of 17) sorted by relevance

/art/runtime/native/
Dsun_misc_Unsafe.cc545 FAST_NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"),
546 FAST_NATIVE_METHOD(Unsafe, compareAndSwapLong, "(Ljava/lang/Object;JJJ)Z"),
547 …FAST_NATIVE_METHOD(Unsafe, compareAndSwapObject, "(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang…
548 FAST_NATIVE_METHOD(Unsafe, getIntVolatile, "(Ljava/lang/Object;J)I"),
549 FAST_NATIVE_METHOD(Unsafe, putIntVolatile, "(Ljava/lang/Object;JI)V"),
550 FAST_NATIVE_METHOD(Unsafe, getLongVolatile, "(Ljava/lang/Object;J)J"),
551 FAST_NATIVE_METHOD(Unsafe, putLongVolatile, "(Ljava/lang/Object;JJ)V"),
552 FAST_NATIVE_METHOD(Unsafe, getObjectVolatile, "(Ljava/lang/Object;J)Ljava/lang/Object;"),
553 FAST_NATIVE_METHOD(Unsafe, putObjectVolatile, "(Ljava/lang/Object;JLjava/lang/Object;)V"),
554 FAST_NATIVE_METHOD(Unsafe, getInt, "(Ljava/lang/Object;J)I"),
[all …]
/art/test/528-long-hint/src/
DMain.java17 import sun.misc.Unsafe;
27 Unsafe unsafe = getUnsafe(); in main()
40 private static Unsafe getUnsafe() throws Exception { in getUnsafe()
41 Field f = Unsafe.class.getDeclaredField("theUnsafe"); in getUnsafe()
43 return (Unsafe) f.get(null); in getUnsafe()
/art/test/555-UnsafeGetLong-regression/src/
DMain.java18 import sun.misc.Unsafe;
27 private static Unsafe getUnsafe() throws Exception { in getUnsafe()
31 return (Unsafe) f.get(null); in getUnsafe()
36 Unsafe unsafe = getUnsafe(); in main()
41 public static void testUnsafeGetLong(Unsafe unsafe) throws Exception { in testUnsafeGetLong()
/art/test/067-preemptive-unpark/src/
DMain.java17 import sun.misc.Unsafe;
22 private static Unsafe UNSAFE;
73 field = Unsafe.class.getDeclaredField("THE_ONE"); in setUp()
76 field = Unsafe.class.getDeclaredField("theUnsafe"); in setUp()
82 UNSAFE = (Unsafe) field.get(null); in setUp()
/art/test/004-UnsafeTest/src/
DMain.java18 import sun.misc.Unsafe;
56 private static Unsafe getUnsafe() throws NoSuchFieldException, IllegalAccessException { in getUnsafe()
57 Class<?> unsafeClass = Unsafe.class; in getUnsafe()
60 return (Unsafe) f.get(null); in getUnsafe()
65 Unsafe unsafe = getUnsafe(); in main()
74 private static void testArrayBaseOffset(Unsafe unsafe) { in testArrayBaseOffset()
93 private static void testArrayIndexScale(Unsafe unsafe) { in testArrayIndexScale()
112 private static void testGetAndPutAndCAS(Unsafe unsafe) throws NoSuchFieldException { in testGetAndPutAndCAS()
215 private static void testGetAndPutVolatile(Unsafe unsafe) throws NoSuchFieldException { in testGetAndPutVolatile()
256 private static void testCopyMemoryPrimitiveArrays(Unsafe unsafe) { in testCopyMemoryPrimitiveArrays()
/art/test/004-checker-UnsafeTest18/src/
DMain.java20 import sun.misc.Unsafe;
30 private static final Unsafe unsafe = getUnsafe();
334 private static Unsafe getUnsafe() { in getUnsafe()
336 Class<?> unsafeClass = Unsafe.class; in getUnsafe()
339 return (Unsafe) f.get(null); in getUnsafe()
/art/test/634-vdex-duplicate/src/sun/misc/
DUnsafe.java19 public class Unsafe { class
/art/test/004-UnsafeTest/
Dinfo.txt1 Test support for sun.misc.Unsafe.
/art/test/004-checker-UnsafeTest18/
Dinfo.txt1 Test support for 1.8 sun.misc.Unsafe.
/art/test/067-preemptive-unpark/
Dinfo.txt1 Test that Unsafe.unpark() operates as expected, in particular across a gc.
/art/test/555-UnsafeGetLong-regression/
Dinfo.txt1 Regression test for sun.misc.Unsafe.getLong's intrinsic's locations
/art/test/1980-obsolete-object-cleared/src/
DMain.java22 import sun.misc.Unsafe;
102 Field f = Unsafe.class.getDeclaredField("THE_ONE"); in main()
104 Unsafe u = (Unsafe) f.get(null); in main()
/art/test/1977-hello-structural-obsolescence/src/art/
DTest1977.java22 import sun.misc.Unsafe;
/art/test/160-read-barrier-stress/src/
DMain.java21 import sun.misc.Unsafe;
189 Unsafe unsafe = getUnsafe(); in testUnsafeGet()
226 Unsafe unsafe = getUnsafe(); in testUnsafeCas()
262 Unsafe unsafe = getUnsafe(); in testUnsafeCasRegression()
454 public static Unsafe getUnsafe() throws Exception { in getUnsafe()
458 return (Unsafe) f.get(null); in getUnsafe()
/art/build/boot/
Dboot-image-profile.txt1568 …Ljava/io/ObjectStreamField;Ljava/io/ObjectStreamField;]Lsun/misc/Unsafe;Lsun/misc/Unsafe;]Ljava/ut…
1571 …lass$FieldReflector;->getPrimFieldValues(Ljava/lang/Object;[B)V+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
1573 …lass$FieldReflector;->setPrimFieldValues(Ljava/lang/Object;[B)V+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
3474 HSPLjava/nio/Bits;->unsafe()Lsun/misc/Unsafe;
3693 …eBuffer;+]Ljava/nio/MappedByteBuffer;Ljava/nio/DirectByteBuffer;]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
6439 …rrent/ConcurrentHashMap;Ljava/util/concurrent/ConcurrentHashMap;]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
6935 HSPLjava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
6937 …Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
6939 HSPLjava/util/concurrent/atomic/AtomicInteger;->getAndAdd(I)I+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
6940 …Ljava/util/concurrent/atomic/AtomicInteger;->getAndDecrement()I+]Lsun/misc/Unsafe;Lsun/misc/Unsafe;
[all …]
Dpreloaded-classes2181 sun.misc.Unsafe
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1750 Ljava/io/File;->UNSAFE:Lsun/misc/Unsafe;
2059 Ljava/io/ObjectStreamClass$FieldReflector;->unsafe:Lsun/misc/Unsafe;
2955 Ljava/lang/invoke/VarHandle;->UNSAFE:Lsun/misc/Unsafe;
3651 Ljava/net/Inet6Address;->UNSAFE:Lsun/misc/Unsafe;
3695 Ljava/net/InetSocketAddress;->UNSAFE:Lsun/misc/Unsafe;
6449 Ljava/util/concurrent/atomic/AtomicBoolean;->U:Lsun/misc/Unsafe;
6452 Ljava/util/concurrent/atomic/AtomicInteger;->U:Lsun/misc/Unsafe;
6461 Ljava/util/concurrent/atomic/AtomicIntegerArray;->U:Lsun/misc/Unsafe;
6468 …til/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl;->U:Lsun/misc/Unsafe;
6469 Ljava/util/concurrent/atomic/AtomicLong;->U:Lsun/misc/Unsafe;
[all …]