Searched refs:Unsafe (Results 1 – 11 of 11) 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 | 504 FAST_NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"), 505 FAST_NATIVE_METHOD(Unsafe, compareAndSwapLong, "(Ljava/lang/Object;JJJ)Z"), 506 …FAST_NATIVE_METHOD(Unsafe, compareAndSwapObject, "(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang… 507 FAST_NATIVE_METHOD(Unsafe, getIntVolatile, "(Ljava/lang/Object;J)I"), 508 FAST_NATIVE_METHOD(Unsafe, putIntVolatile, "(Ljava/lang/Object;JI)V"), 509 FAST_NATIVE_METHOD(Unsafe, getLongVolatile, "(Ljava/lang/Object;J)J"), 510 FAST_NATIVE_METHOD(Unsafe, putLongVolatile, "(Ljava/lang/Object;JJ)V"), 511 FAST_NATIVE_METHOD(Unsafe, getObjectVolatile, "(Ljava/lang/Object;J)Ljava/lang/Object;"), 512 FAST_NATIVE_METHOD(Unsafe, putObjectVolatile, "(Ljava/lang/Object;JLjava/lang/Object;)V"), 513 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; 69 field = Unsafe.class.getDeclaredField("THE_ONE"); in setUp() 72 field = Unsafe.class.getDeclaredField("theUnsafe"); in setUp() 78 UNSAFE = (Unsafe) field.get(null); in setUp()
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 18 import sun.misc.Unsafe; 42 private static Unsafe getUnsafe() throws NoSuchFieldException, IllegalAccessException { in getUnsafe() 43 Class<?> unsafeClass = Unsafe.class; in getUnsafe() 46 return (Unsafe) f.get(null); in getUnsafe() 51 Unsafe unsafe = getUnsafe(); in main() 59 private static void testArrayBaseOffset(Unsafe unsafe) { in testArrayBaseOffset() 78 private static void testArrayIndexScale(Unsafe unsafe) { in testArrayIndexScale() 97 private static void testGetAndPutAndCAS(Unsafe unsafe) throws NoSuchFieldException { in testGetAndPutAndCAS() 200 private static void testGetAndPutVolatile(Unsafe unsafe) throws NoSuchFieldException { in testGetAndPutVolatile()
|
/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(); 343 private static Unsafe getUnsafe() { in getUnsafe() 345 Class<?> unsafeClass = Unsafe.class; in getUnsafe() 348 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
|