/art/test/125-gc-and-classloading/src/ |
D | Main.java | 70 static Object sf1; 71 static Object sf2; 72 static Object sf3; 73 static Object sf4; 74 static Object sf5; 75 static Object sf6; 76 static Object sf7; 77 static Object sf8; 78 static Object sf9; 79 static Object sf10; [all …]
|
/art/test/160-read-barrier-stress/src/ |
D | ManyFieldsBase0.java | 18 public Object testField0000 = new Integer(0); 19 public Object testField0001 = new Integer(1); 20 public Object testField0002 = new Integer(2); 21 public Object testField0003 = new Integer(3); 22 public Object testField0004 = new Integer(4); 23 public Object testField0005 = new Integer(5); 24 public Object testField0006 = new Integer(6); 25 public Object testField0007 = new Integer(7); 26 public Object testField0008 = new Integer(8); 27 public Object testField0009 = new Integer(9); [all …]
|
D | ManyFieldsBase3.java | 18 public Object testField3000 = new Integer(3000); 19 public Object testField3001 = new Integer(3001); 20 public Object testField3002 = new Integer(3002); 21 public Object testField3003 = new Integer(3003); 22 public Object testField3004 = new Integer(3004); 23 public Object testField3005 = new Integer(3005); 24 public Object testField3006 = new Integer(3006); 25 public Object testField3007 = new Integer(3007); 26 public Object testField3008 = new Integer(3008); 27 public Object testField3009 = new Integer(3009); [all …]
|
D | ManyFieldsBase1.java | 18 public Object testField1000 = new Integer(1000); 19 public Object testField1001 = new Integer(1001); 20 public Object testField1002 = new Integer(1002); 21 public Object testField1003 = new Integer(1003); 22 public Object testField1004 = new Integer(1004); 23 public Object testField1005 = new Integer(1005); 24 public Object testField1006 = new Integer(1006); 25 public Object testField1007 = new Integer(1007); 26 public Object testField1008 = new Integer(1008); 27 public Object testField1009 = new Integer(1009); [all …]
|
D | ManyFieldsBase2.java | 18 public Object testField2000 = new Integer(2000); 19 public Object testField2001 = new Integer(2001); 20 public Object testField2002 = new Integer(2002); 21 public Object testField2003 = new Integer(2003); 22 public Object testField2004 = new Integer(2004); 23 public Object testField2005 = new Integer(2005); 24 public Object testField2006 = new Integer(2006); 25 public Object testField2007 = new Integer(2007); 26 public Object testField2008 = new Integer(2008); 27 public Object testField2009 = new Integer(2009); [all …]
|
D | Main.java | 40 Object f0000 = manyFields.testField0000; in $noinline$testFieldReads() 41 Object f1024 = manyFields.testField1024; in $noinline$testFieldReads() 42 Object f4444 = manyFields.testField4444; in $noinline$testFieldReads() 43 Object f4999 = manyFields.testField4999; in $noinline$testFieldReads() 63 Object f0000 = new Integer(0); in $noinline$testArrayReadsWithConstIndex() 64 Object f1024 = new Integer(1024); in $noinline$testArrayReadsWithConstIndex() 65 Object f4444 = new Integer(4444); in $noinline$testArrayReadsWithConstIndex() 66 Object f4999 = new Integer(4999); in $noinline$testArrayReadsWithConstIndex() 69 Object tmp = new Integer(1); in $noinline$testArrayReadsWithConstIndex() 83 Object[] la = largeArray; // Load the volatile `largeArray` once on each iteration. in $noinline$testArrayReadsWithConstIndex() [all …]
|
/art/test/MyClassNatives/ |
D | MyClassNatives.java | 40 native int fooL(Object x); in fooL() 58 native Object fooI_L(int x); in fooI_L() 70 static native int sfooL(Object x); in sfooL() 76 native Object fooO(Object x); in fooO() 82 native Object fooIOO(int x, Object y, Object z); in fooIOO() 84 static native Object fooSIOO(int x, Object y, Object z); in fooSIOO() 90 static synchronized native Object fooSSIOO(int x, Object y, Object z); in fooSSIOO() 92 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy() 94 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); in compareAndSwapInt() 96 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText() [all …]
|
/art/test/2247-checker-write-barrier-elimination/src/ |
D | Main.java | 18 Object inner; 19 Object inner2; 21 static Object inner_static; 27 $noinline$testInstanceFieldSets(new Main(), new Object(), new Object(), new Object()); in main() 28 $noinline$testStaticFieldSets(new Object(), new Object(), new Object()); in main() 31 $noinline$testArraySets(new Object[3], new Object(), new Object(), new Object()); in main() 33 $noinline$testSwapArray(new Object[3]); in main() 38 $noinline$testNullInstanceFieldSets(new Main(), new Object()); in main() 39 $noinline$testNullStaticFieldSets(new Object()); in main() 40 $noinline$testNullArraySets(new Object[3], new Object()); in main() [all …]
|
/art/test/954-invoke-polymorphic-verifier/smali/ |
D | VarHandleHappyAccessors.smali | 19 .super Ljava/lang/Object; 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 29 …VarHandle;->compareAndExchange([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 30 …le;->compareAndExchangeAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 31 …le;->compareAndExchangeRelease([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 32 …a/lang/invoke/VarHandle;->compareAndSet([Ljava/lang/Object;)Z, ([Ljava/lang/Object;)Ljava/lang/Obj… 33 …va/lang/invoke/VarHandle;->get([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 34 …/invoke/VarHandle;->getAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 35 …g/invoke/VarHandle;->getAndAdd([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… 36 …e/VarHandle;->getAndAddAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/… [all …]
|
/art/runtime/arch/arm64/ |
D | entrypoints_init_arm64.cc | 35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_entrypoints_list.h | 38 V(InstanceofNonTrivial, size_t, mirror::Object*, mirror::Class*) \ 39 V(CheckInstanceOf, void, mirror::Object*, mirror::Class*) \ 73 V(AputObject, void, mirror::Array*, int32_t, mirror::Object*) \ 77 V(JniDecodeReferenceResult, mirror::Object*, jobject, Thread*) \ 78 V(JniLockObject, void, mirror::Object*) \ 79 V(JniUnlockObject, void, mirror::Object*) \ 83 V(LockObject, void, mirror::Object*) \ 84 V(UnlockObject, void, mirror::Object*) \ 141 V(DeliverException, void, mirror::Object*) \ 177 V(ReadBarrierMarkReg00, mirror::Object*, mirror::Object*) \ [all …]
|
/art/test/980-redefine-object/ |
D | expected-stdout.txt | 2 Allocating an j.l.Object before redefining Object class 3 Allocating a Transform before redefining Object class 4 Redefining the Object class to add a hook into the <init> method 5 Allocating an j.l.Object after redefining Object class 6 Object allocated of type 'java.lang.Object' 7 Allocating a Transform after redefining Object class 8 Object allocated of type 'Transform' 9 Allocating an int[] after redefining Object class 11 Object allocated of type 'java.util.ArrayList' 13 Object allocated of type 'java.lang.Object' [all …]
|
/art/runtime/arch/riscv64/ |
D | entrypoints_init_riscv64.cc | 25 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 32 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); // t0/x5 33 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); // t1/x6 34 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); // t2/x7 35 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); // t3/x8 37 extern "C" mirror::Object* art_quick_read_barrier_mark_reg10(mirror::Object*); // a0/x10 38 extern "C" mirror::Object* art_quick_read_barrier_mark_reg11(mirror::Object*); // a1/x11 39 extern "C" mirror::Object* art_quick_read_barrier_mark_reg12(mirror::Object*); // a2/x12 40 extern "C" mirror::Object* art_quick_read_barrier_mark_reg13(mirror::Object*); // a3/x13 41 extern "C" mirror::Object* art_quick_read_barrier_mark_reg14(mirror::Object*); // a4/x14 [all …]
|
/art/test/635-checker-arm64-volatile-load-cc/src/ |
D | Main.java | 19 static volatile Object s000, s001, s002, s003, s004, s005, s006, s007, s008, s009; 20 static volatile Object s010, s011, s012, s013, s014, s015, s016, s017, s018, s019; 21 static volatile Object s020, s021, s022, s023, s024, s025, s026, s027, s028, s029; 22 static volatile Object s030, s031, s032, s033, s034, s035, s036, s037, s038, s039; 23 static volatile Object s040, s041, s042, s043, s044, s045, s046, s047, s048, s049; 24 static volatile Object s050, s051, s052, s053, s054, s055, s056, s057, s058, s059; 25 static volatile Object s060, s061, s062, s063, s064, s065, s066, s067, s068, s069; 26 static volatile Object s070, s071, s072, s073, s074, s075, s076, s077, s078, s079; 27 static volatile Object s080, s081, s082, s083, s084, s085, s086, s087, s088, s089; 28 static volatile Object s090, s091, s092, s093, s094, s095, s096, s097, s098, s099; [all …]
|
/art/runtime/arch/x86_64/ |
D | entrypoints_init_x86_64.cc | 33 extern "C" size_t art_quick_instance_of(mirror::Object* obj, mirror::Class* ref_class); 40 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 41 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg09(mirror::Object*); [all …]
|
/art/runtime/arch/arm/ |
D | entrypoints_init_arm.cc | 35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); [all …]
|
/art/test/521-checker-array-set-null/src/ |
D | Main.java | 19 $noinline$testWithNull(new Object[2]); in main() 20 $noinline$testWithUnknown(new Object[2], new Object()); in main() 21 $noinline$testWithSame(new Object[2]); in main() 35 public static void $noinline$testWithNull(Object[] o) { in $noinline$testWithNull() 41 public static void $noinline$testWithUnknown(Object[] o, Object obj) { in $noinline$testWithUnknown() 56 public static void $noinline$testWithSame(Object[] o) { in $noinline$testWithSame() 71 public static Object[] $noinline$testWithSameRTI() { in $noinline$testWithSameRTI() 72 Object[] arr = new Object[1]; in $noinline$testWithSameRTI() 78 static Object static_obj;
|
/art/test/088-monitor-verification/src/ |
D | Main.java | 67 Object obj1 = new Object(); in main() 68 Object obj2 = new Object(); in main() 98 synchronized (new Object()) { in nestedMayThrow() 205 private void doNothing(Object obj) {} in doNothing() 211 public void triplet(Object obj1, Object obj2, int x) { in triplet() 212 Object localObj; in triplet() 231 runTest("OK", new Object[] { new Object(), new Object() }, null); in runSmaliTests() 232 runTest("TooDeep", new Object[] { new Object() }, null); in runSmaliTests() 233 runTest("NotStructuredOverUnlock", new Object[] { new Object() }, in runSmaliTests() 235 runTest("NotStructuredUnderUnlock", new Object[] { new Object() }, in runSmaliTests() [all …]
|
/art/test/814-large-field-offsets/src/ |
D | Main.java | 19 Object i0000, i0001, i0002, i0003, i0004, i0005, i0006, i0007, i0008, i0009; 20 Object i0010, i0011, i0012, i0013, i0014, i0015, i0016, i0017, i0018, i0019; 21 Object i0020, i0021, i0022, i0023, i0024, i0025, i0026, i0027, i0028, i0029; 22 Object i0030, i0031, i0032, i0033, i0034, i0035, i0036, i0037, i0038, i0039; 23 Object i0040, i0041, i0042, i0043, i0044, i0045, i0046, i0047, i0048, i0049; 24 Object i0050, i0051, i0052, i0053, i0054, i0055, i0056, i0057, i0058, i0059; 25 Object i0060, i0061, i0062, i0063, i0064, i0065, i0066, i0067, i0068, i0069; 26 Object i0070, i0071, i0072, i0073, i0074, i0075, i0076, i0077, i0078, i0079; 27 Object i0080, i0081, i0082, i0083, i0084, i0085, i0086, i0087, i0088, i0089; 28 Object i0090, i0091, i0092, i0093, i0094, i0095, i0096, i0097, i0098, i0099; [all …]
|
/art/test/477-checker-bound-type/src/ |
D | Main.java | 22 public static Object boundTypeForIf(Object a) { in boundTypeForIf() 32 public static Object boundTypeForInstanceOf(Object a) { in boundTypeForInstanceOf() 42 public static Object noBoundTypeForIf(Object a) { in noBoundTypeForIf() 44 return new Object(); in noBoundTypeForIf() 52 public static Object noBoundTypeForInstanceOf(Object a) { in noBoundTypeForInstanceOf() 54 return new Object(); in noBoundTypeForInstanceOf() 126 private static void BoundTypeNoLICM(Object obj) { in BoundTypeNoLICM()
|
/art/runtime/mirror/ |
D | object-inl.h | 47 inline uint32_t Object::ClassSize(PointerSize pointer_size) { in ClassSize() 53 inline Class* Object::GetClass() { in GetClass() 58 inline void Object::SetClass(ObjPtr<Class> new_klass) { in SetClass() 69 inline void Object::SetLockWord(LockWord new_val, bool as_volatile) { in SetLockWord() 78 inline uint32_t Object::GetLockOwnerThreadId() { in GetLockOwnerThreadId() 82 inline ObjPtr<mirror::Object> Object::MonitorEnter(Thread* self) { in MonitorEnter() 86 inline ObjPtr<mirror::Object> Object::MonitorTryEnter(Thread* self) { in MonitorTryEnter() 90 inline bool Object::MonitorExit(Thread* self) { in MonitorExit() 94 inline void Object::Notify(Thread* self) { in Notify() 98 inline void Object::NotifyAll(Thread* self) { in NotifyAll() [all …]
|
D | object.cc | 44 Atomic<uint32_t> Object::hash_code_seed(987654321U + std::time(nullptr)); 48 explicit CopyReferenceFieldsWithReadBarrierVisitor(ObjPtr<Object> dest_obj) in CopyReferenceFieldsWithReadBarrierVisitor() 51 void operator()(ObjPtr<Object> obj, MemberOffset offset, bool /* is_static */) const in operator ()() 54 ObjPtr<Object> ref = obj->GetFieldObject<Object>(offset); in operator ()() 70 [[maybe_unused]] mirror::CompressedReference<mirror::Object>* root) const {} in VisitRootIfNonNull() 71 void VisitRoot([[maybe_unused]] mirror::CompressedReference<mirror::Object>* root) const {} in VisitRoot() 74 const ObjPtr<Object> dest_obj_; 77 void Object::CopyRawObjectData(uint8_t* dst_bytes, in CopyRawObjectData() 78 ObjPtr<mirror::Object> src, in CopyRawObjectData() 81 const size_t offset = sizeof(Object); in CopyRawObjectData() [all …]
|
/art/test/1980-obsolete-object-cleared/src/ |
D | Main.java | 29 public static Object SECRET_ARRAY = new byte[] {1, 2, 3, 4}; 76 private static final class BaseResetIter implements ResetIterator<Object[]> { 79 public Object[] next() { in next() 82 return new Object[0]; in next() 131 Object ext_data = ext_field.get(Transform.class); in main() 151 Iterable<Object[]> iter = CollectParameterValues(m, obsolete_class); in main() 153 for (Object[] arr : iter) { in main() 177 …public static Iterable<Object[]> CollectParameterValues(Method m, Class<?> obsolete_class) throws … in CollectParameterValues() 179 final Object[][] params = new Object[types.length][]; in CollectParameterValues() 183 new Object[] { in CollectParameterValues() [all …]
|
/art/test/168-vmstack-annotated/src/ |
D | Main.java | 30 List<Object> locks; 33 public Runner(List<Object> locks, List<CyclicBarrier> barriers) { in Runner() 43 private void step(List<Object> l, List<CyclicBarrier> b) { in step() 52 Object lockObject = l.remove(0); in step() 76 Object lockObject2 = l.remove(0); in step() 119 LinkedList<Object> l1 = new LinkedList<>(); in testCluster1() 121 LinkedList<Object> l2 = new LinkedList<>(); in testCluster1() 124 Object o1 = new Object(); in testCluster1() 125 Object o2 = new Object(); in testCluster1() 126 Object o3 = new Object(); in testCluster1() [all …]
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 19 static Object exactCheck = new ExactCheck(); 20 static Object abstractCheckImpl = new AbstractCheckImpl(); 21 static Object interfaceCheckImpl = new InterfaceCheckImpl(); 22 static Object normalCheck = new NormalCheck(); 23 static Object regularObject = new Object(); 24 static Object objectArray = new Object[2]; 25 static Object intArray = new int[2]; 26 static Object doubleArray = new double[2]; 27 static Object exactArray = new ExactCheck[2]; 28 static Object normalArray = new NormalCheck[2]; [all …]
|