/art/runtime/ |
H A D | object_lock.cc | 19 #include "mirror/object-inl.h" 25 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { argument 26 CHECK(object.Get() != nullptr);
|
H A D | intern_table_test.cc | 20 #include "mirror/object.h" 90 mirror::Object* IsMarkedSweepingCallback(mirror::Object* object, void* arg) { argument 91 if (reinterpret_cast<TestPredicate*>(arg)->IsMarked(object)) { 92 return object;
|
H A D | intern_table.cc | 24 #include "mirror/object-inl.h" 72 // corresponding object. This is slow, but luckily for us, this may only happen with a 297 mirror::Object* object = root.Read<kWithoutReadBarrier>(); local 298 mirror::Object* new_object = callback(object, arg);
|
H A D | jni_internal_test.cc | 326 // Null object to CallVoidMethod. 678 "attempt to get byte primitive array elements with an object of type boolean[]"); 681 "attempt to get short primitive array elements with an object of type boolean[]"); 684 "attempt to get char primitive array elements with an object of type boolean[]"); 687 "attempt to get int primitive array elements with an object of type boolean[]"); 690 "attempt to get long primitive array elements with an object of type boolean[]"); 693 "attempt to get float primitive array elements with an object of type boolean[]"); 696 "attempt to get double primitive array elements with an object of type boolean[]"); 701 "attempt to get boolean primitive array elements with an object of type byte[]"); 702 jobject object local 748 jobject object = env_->NewStringUTF("Test String"); local 756 jobject object = env_->NewStringUTF("Test String"); local 803 jobject object = env_->NewStringUTF("Test String"); local 850 jobject object = env_->NewStringUTF("Test String"); local 1615 jobject object = env_->AllocObject(object_class); local [all...] |
H A D | monitor.cc | 29 #include "mirror/object-inl.h" 178 // Deflated monitors have a null object. 229 void Monitor::SetObject(mirror::Object* object) { argument 230 obj_ = GcRoot<mirror::Object>(object); 342 ThrowIllegalMonitorStateExceptionF("unlock of unowned monitor on object of type '%s'" 348 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 357 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 366 " owned by '%s') on object of type '%s' on thread '%s'", 372 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 440 ThrowIllegalMonitorStateExceptionF("object no [all...] |
/art/runtime/mirror/ |
H A D | array.cc | 25 #include "object-inl.h" 123 void Array::ThrowArrayStoreException(Object* object) { argument 124 art::ThrowArrayStoreException(object->GetClass(), this->GetClass());
|
H A D | art_field-inl.h | 26 #include "object-inl.h" 65 inline uint32_t ArtField::Get32(Object* object) { argument 66 DCHECK(object != nullptr) << PrettyField(this); 67 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 69 return object->GetField32Volatile(GetOffset()); 71 return object->GetField32(GetOffset()); 75 inline void ArtField::Set32(Object* object, uint32_t new_value) { argument 76 DCHECK(object != nullptr) << PrettyField(this); 77 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 79 object 85 Get64(Object* object) argument 95 Set64(Object* object, uint64_t new_value) argument 105 GetObj(Object* object) argument 115 SetObj(Object* object, Object* new_value) argument 125 GetBoolean(Object* object) argument 131 SetBoolean(Object* object, bool z) argument 136 GetByte(Object* object) argument 142 SetByte(Object* object, int8_t b) argument 147 GetChar(Object* object) argument 153 SetChar(Object* object, uint16_t c) argument 158 GetShort(Object* object) argument 164 SetShort(Object* object, int16_t s) argument 169 GetInt(Object* object) argument 178 SetInt(Object* object, int32_t i) argument 186 GetLong(Object* object) argument 195 SetLong(Object* object, int64_t j) argument 203 GetFloat(Object* object) argument 211 SetFloat(Object* object, float f) argument 218 GetDouble(Object* object) argument 226 SetDouble(Object* object, double d) argument 233 GetObject(Object* object) argument 239 SetObject(Object* object, Object* l) argument [all...] |
H A D | object_array-inl.h | 63 inline bool ObjectArray<T>::CheckAssignable(T* object) { argument 64 if (object != NULL) { 66 if (UNLIKELY(!object->InstanceOf(element_class))) { 67 ThrowArrayStoreException(object); 75 inline void ObjectArray<T>::Set(int32_t i, T* object) { argument 77 Set<true>(i, object); 79 Set<false>(i, object); 85 inline void ObjectArray<T>::Set(int32_t i, T* object) { argument 86 if (CheckIsValidIndex(i) && CheckAssignable<kVerifyFlags>(object)) { 87 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); local 95 SetWithoutChecks(int32_t i, T* object) argument 98 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); local 103 SetWithoutChecksAndWriteBarrier(int32_t i, T* object) argument 108 OffsetOfElement(i), object); local [all...] |
/art/test/406-fields/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/test/407-arrays/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/test/021-string2/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/art/test/082-inline-execute/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/art/compiler/llvm/ |
H A D | runtime_support_builder.cc | 22 #include "mirror/object.h" 166 void RuntimeSupportBuilder::EmitLockObject(::llvm::Value* object) { argument 168 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread()); 171 void RuntimeSupportBuilder::EmitUnlockObject(::llvm::Value* object) { argument 173 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread());
|
/art/runtime/native/ |
H A D | java_lang_Thread.cc | 21 #include "mirror/object.h" 98 mirror::Object* object = soa.Decode<mirror::Object*>(java_object); local 99 if (object == NULL) { 100 ThrowNullPointerException(NULL, "object == null"); 105 return thread->HoldsLock(object);
|
/art/runtime/gc/space/ |
H A D | space_test.h | 26 #include "mirror/object-inl.h" 94 // Like the proper heap object allocation, install and verify 402 size_t last_object = 0; // last object for which allocation succeeded 423 auto object(hs.NewHandle<mirror::Object>(nullptr)); 426 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr)); 428 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr)); 432 if (object.Get() != nullptr) { // allocation succeeded 433 lots_of_objects[i] = object.Get(); 434 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); 485 mirror::Object* object local [all...] |
/art/compiler/ |
H A D | image_writer.cc | 50 #include "mirror/object-inl.h" 177 void ImageWriter::SetImageOffset(mirror::Object* object, size_t offset) { argument 178 DCHECK(object != nullptr); 180 DCHECK(!IsImageOffsetAssigned(object)); 185 Monitor::Deflate(Thread::Current(), object);; local 186 LockWord lw(object->GetLockWord(false)); 189 LOG(FATAL) << "Fat locked object " << obj << " found during object copy"; 193 LOG(FATAL) << "Thin locked object " << obj << " found during object cop 210 AssignImageOffset(mirror::Object* object) argument [all...] |
/art/compiler/optimizing/ |
H A D | builder.cc | 405 HInstruction* object = LoadLocal(obj_reg, Primitive::kPrimNot); local 406 current_block_->AddInstruction(new (arena_) HNullCheck(object, dex_offset)); 441 HInstruction* object = LoadLocal(array_reg, Primitive::kPrimNot); local 442 object = new (arena_) HNullCheck(object, dex_offset); 443 current_block_->AddInstruction(object); 444 temps.Add(object); 446 HInstruction* length = new (arena_) HArrayLength(object); 456 current_block_->AddInstruction(new (arena_) HArraySet(object, index, value, dex_offset)); 458 current_block_->AddInstruction(new (arena_) HArrayGet(object, inde [all...] |
H A D | code_generator_arm.cc | 1475 void CodeGeneratorARM::MarkGCCard(Register temp, Register card, Register object, Register value) { argument 1479 __ Lsr(temp, object, gc::accounting::CardTable::kCardShift);
|
H A D | code_generator_x86.cc | 1134 void CodeGeneratorX86::MarkGCCard(Register temp, Register card, Register object, Register value) { argument 1139 __ movl(temp, object);
|
H A D | code_generator_x86_64.cc | 1304 CpuRegister object, 1311 __ movq(temp, object); 1302 MarkGCCard(CpuRegister temp, CpuRegister card, CpuRegister object, CpuRegister value) argument
|
/art/runtime/gc/collector/ |
H A D | mark_compact.cc | 44 #include "mirror/object-inl.h" 153 // Marking a large object, make sure its aligned as a sanity check. 174 MarkStackPush(obj); // This object was not previously marked. 180 // This object was not previously marked. 289 // The object must be pushed on to the mark stack. 345 // Update object references in mod union tables and spaces. 369 << "Didn't update large object classes since they are assumed to not move."; 463 inline bool MarkCompact::IsMarked(const Object* object) const { 464 if (immune_region_.ContainsObject(object)) { 467 if (objects_before_forwarding_->HasAddress(object)) { 473 IsMarkedCallback(mirror::Object* object, void* arg) argument [all...] |
H A D | semi_space.cc | 45 #include "mirror/object-inl.h" 83 // We won't collect the large object space if a bump pointer space only collection. 294 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; 376 // When the large object space is immune, we need to scan the 377 // large object space as roots as they contain references to their 426 // The object must be pushed on to the mark stack. 433 // that the next object copied will also dirty that page. 434 // TODO: Worth considering the last object copied? We may end up dirtying one page which is 512 // bitmap marking of the promoted object until it's popped off 519 // mark the promoted object her 608 HeapReferenceMarkedCallback(mirror::HeapReference<mirror::Object>* object, void* arg) argument 624 MarkedForwardingAddressCallback(mirror::Object* object, void* arg) argument [all...] |
/art/patchoat/ |
H A D | patchoat.cc | 39 #include "mirror/object.h" 40 #include "mirror/object-inl.h" 392 void PatchOat::VisitObject(mirror::Object* object) { argument 393 mirror::Object* copy = RelocatedCopyOf(object); 396 object->AssertReadBarrierPointer(); 398 mirror::Object* moved_to = RelocatedAddressOf(object); 404 object->VisitReferences<true, kVerifyNone>(visitor, visitor); 405 if (object->IsArtMethod<kVerifyNone>()) { 406 FixupMethod(static_cast<mirror::ArtMethod*>(object), 411 void PatchOat::FixupMethod(mirror::ArtMethod* object, mirro argument [all...] |
/art/compiler/dex/quick/ |
H A D | gen_common.cc | 23 #include "mirror/object-inl.h" 1000 RegLocation object = LoadValue(rl_src, kRefReg); local 1003 if (IsSameReg(result_reg, object.reg)) { 1005 DCHECK(!IsSameReg(result_reg, object.reg)); 1008 LIR* null_branchover = OpCmpImmBranch(kCondEq, object.reg, 0, NULL); 1017 LoadRefDisp(object.reg, mirror::Object::ClassOffset().Int32Value(), object_class, 1022 LoadRefDisp(object.reg, mirror::Object::ClassOffset().Int32Value(), object_class, 1123 /* load object->klass_ */ 1300 /* load object->klass_ */
|
/art/compiler/dex/quick/x86/ |
H A D | int_x86.cc | 1030 // Mark card for object assuming new value is stored. 2085 /* null object? */ 2133 /* null object? */ 2625 RegLocation object = LoadValue(rl_src, kRefReg); local 2630 RegStorage object_32reg = object.reg.Is64Bit() ? As32BitReg(object.reg) : object.reg; 2637 LIR* null_branchover = OpCmpImmBranch(kCondEq, object.reg, 0, NULL); 2673 // Compare the computed class to the class in the object. 2674 DCHECK_EQ(object [all...] |