Searched refs:Unsafe (Results 1 – 14 of 14) sorted by relevance
/art/test/528-long-hint/src/ |
D | Main.java | 17 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/ |
D | Main.java | 18 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/runtime/native/ |
D | sun_misc_Unsafe.cc | 545 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/067-preemptive-unpark/src/ |
D | Main.java | 17 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/ |
D | Main.java | 18 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/634-vdex-duplicate/src/sun/misc/ |
D | Unsafe.java | 19 public class Unsafe { class
|
/art/test/004-checker-UnsafeTest18/ |
D | info.txt | 1 Test support for 1.8 sun.misc.Unsafe.
|
/art/test/004-UnsafeTest/ |
D | info.txt | 1 Test support for sun.misc.Unsafe.
|
/art/test/004-checker-UnsafeTest18/src/ |
D | Main.java | 20 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/067-preemptive-unpark/ |
D | info.txt | 1 Test that Unsafe.unpark() operates as expected, in particular across a gc.
|
/art/test/555-UnsafeGetLong-regression/ |
D | info.txt | 1 Regression test for sun.misc.Unsafe.getLong's intrinsic's locations
|
/art/test/1980-obsolete-object-cleared/src/ |
D | Main.java | 22 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/ |
D | Test1977.java | 22 import sun.misc.Unsafe;
|
/art/test/160-read-barrier-stress/src/ |
D | Main.java | 18 import sun.misc.Unsafe; 182 Unsafe unsafe = getUnsafe(); in testUnsafeGet() 219 Unsafe unsafe = getUnsafe(); in testUnsafeCas() 255 Unsafe unsafe = getUnsafe(); in testUnsafeCasRegression() 302 public static Unsafe getUnsafe() throws Exception { in getUnsafe() 306 return (Unsafe) f.get(null); in getUnsafe()
|