/art/runtime/interpreter/mterp/mips64/ |
H A D | op_return_wide.S | 13 jal MterpSuspendCheck # (self)
|
H A D | op_instance_of.S | 14 move a3, rSELF # a3 <- self 15 jal MterpInstanceOf # (index, &obj, method, self)
|
/art/runtime/interpreter/mterp/x86_64/ |
H A D | op_check_cast.S | 10 call SYMBOL(MterpCheckCast) # (index, &obj, method, self)
|
H A D | op_const_class.S | 7 call SYMBOL(MterpConstClass) # (index, tgt_reg, shadow_frame, self)
|
H A D | op_const_string.S | 7 call SYMBOL(MterpConstString) # (index, tgt_reg, shadow_frame, self)
|
H A D | op_const_string_jumbo.S | 7 call SYMBOL(MterpConstString) # (index, tgt_reg, shadow_frame, self)
|
H A D | op_sput.S | 13 movq rSELF, OUT_ARG3 # self
|
H A D | op_sput_wide.S | 11 movq rSELF, OUT_ARG3 # self
|
/art/runtime/jit/ |
H A D | debugger_interface.cc | 119 Thread* self = Thread::Current(); local 120 MutexLock mu(self, g_jit_debug_mutex); 125 Thread* self = Thread::Current(); local 126 MutexLock mu(self, g_jit_debug_mutex); 135 Thread* self = Thread::Current(); local 136 MutexLock mu(self, g_jit_debug_mutex); 144 Thread* self = Thread::Current(); local 145 MutexLock mu(self, g_jit_debug_mutex);
|
/art/runtime/mirror/ |
H A D | method.cc | 55 Method* Method::CreateFromArtMethod(Thread* self, ArtMethod* method) { argument 57 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self)); 64 template Method* Method::CreateFromArtMethod<false>(Thread* self, ArtMethod* method); 65 template Method* Method::CreateFromArtMethod<true>(Thread* self, ArtMethod* method); 100 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { argument 102 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); 109 template Constructor* Constructor::CreateFromArtMethod<false>(Thread* self, ArtMethod* method); 110 template Constructor* Constructor::CreateFromArtMethod<true>(Thread* self, ArtMethod* method);
|
H A D | class.cc | 69 void Class::SetStatus(Handle<Class> h_this, Status new_status, Thread* self) { argument 81 CHECK_EQ(h_this->GetLockOwnerThreadId(), self->GetThreadId()) 92 if (self->IsExceptionPending()) { 93 LOG(ERROR) << "Exception: " << self->GetException()->Dump(); 98 CHECK(self->GetException() != nullptr); 99 h_this->SetVerifyError(self->GetException()); 120 h_this->NotifyAll(self); 125 h_this->NotifyAll(self); 157 Thread* self = Thread::Current(); local 175 name = String::AllocFromModifiedUtf8(self, c_nam 198 Thread* const self = Thread::Current(); local 567 Thread* self = Thread::Current(); local 725 FindStaticField(Thread* self, Handle<Class> klass, const StringPiece& name, const StringPiece& type) argument 751 FindStaticField(Thread* self, Handle<Class> klass, const DexCache* dex_cache, uint32_t dex_field_idx) argument 775 FindField(Thread* self, Handle<Class> klass, const StringPiece& name, const StringPiece& type) argument 849 GetDirectInterface(Thread* self, Handle<mirror::Class> klass, uint32_t idx) argument 969 CopyClassVisitor(Thread* self, Handle<mirror::Class>* orig, size_t new_length, size_t copy_bytes, ArtMethod* const (&imt)[mirror::Class::kImtSize], size_t pointer_size) argument 1000 CopyOf(Thread* self, int32_t new_length, ArtMethod* const (&imt)[mirror::Class::kImtSize], size_t pointer_size) argument 1026 GetDeclaredConstructor( Thread* self, Handle<mirror::ObjectArray<mirror::Class>> args, size_t pointer_size) argument 1059 GetDeclaredMethodInternal(Thread* self, mirror::Class* klass, mirror::String* name, mirror::ObjectArray<mirror::Class>* args) argument 1143 GetDeclaredConstructorInternal( Thread* self, mirror::Class* klass, mirror::ObjectArray<mirror::Class>* args) argument [all...] |
H A D | object.cc | 75 Object* Object::CopyObject(Thread* self, mirror::Object* dest, mirror::Object* src, argument 102 heap->AddFinalizerReference(self, &dest); 110 CopyObjectVisitor(Thread* self, Handle<Object>* orig, size_t num_bytes) argument 111 : self_(self), orig_(orig), num_bytes_(num_bytes) { 126 Object* Object::Clone(Thread* self) { argument 132 StackHandleScope<1> hs(self); 135 CopyObjectVisitor visitor(self, &this_object, num_bytes); 137 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); 139 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor); 177 Thread* self local [all...] |
/art/runtime/ |
H A D | object_lock.cc | 25 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { argument
|
H A D | class_linker.cc | 108 Thread* self = Thread::Current(); local 109 self->ThrowNewExceptionV("Ljava/lang/NoClassDefFoundError;", fmt, args); 113 static bool HasInitWithString(Thread* self, ClassLinker* class_linker, const char* descriptor) 115 ArtMethod* method = self->GetCurrentMethod(nullptr); 116 StackHandleScope<1> hs(self); 119 mirror::Class* exception_class = class_linker->FindClass(self, descriptor, class_loader); 123 CHECK(self->IsExceptionPending()); 124 self->ClearException(); 134 static void HandleEarlierVerifyError(Thread* self, ClassLinker* class_linker, mirror::Class* c) 138 self 182 Thread* self = Thread::Current(); local 213 Thread* self = Thread::Current(); local 333 CheckSystemClass(Thread* self, Handle<mirror::Class> c1, const char* descriptor) argument 355 Thread* const self = Thread::Current(); local 701 FinishInit(Thread* self) argument 752 Thread* self = Thread::Current(); local 936 Thread* const self = Thread::Current(); local 1234 Thread* const self = Thread::Current(); local 1573 Thread* const self = Thread::Current(); local 1826 Thread* const self = Thread::Current(); local 1921 Thread* const self = Thread::Current(); local 1967 Thread* const self = Thread::Current(); local 2032 Thread* const self = Thread::Current(); local 2039 DeleteClassLoader(Thread* self, const ClassLoaderData& data) argument 2054 AllocPointerArray(Thread* self, size_t length) argument 2060 AllocDexCache(Thread* self, const DexFile& dex_file, LinearAlloc* linear_alloc) argument 2124 AllocClass(Thread* self, mirror::Class* java_lang_Class, uint32_t class_size) argument 2139 AllocClass(Thread* self, uint32_t class_size) argument 2143 AllocStackTraceElementArray( Thread* self, size_t length) argument 2150 EnsureResolved(Thread* self, const char* descriptor, mirror::Class* klass) argument 2220 FindClassInPathClassLoader(ScopedObjectAccessAlreadyRunnable& soa, Thread* self, const char* descriptor, size_t hash, Handle<mirror::ClassLoader> class_loader, mirror::Class** result) argument 2341 FindClass(Thread* self, const char* descriptor, Handle<mirror::ClassLoader> class_loader) argument 2435 DefineClass(Thread* self, const char* descriptor, size_t hash, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, const DexFile::ClassDef& dex_class_def) argument 2926 LoadClass(Thread* self, const DexFile& dex_file, const DexFile::ClassDef& dex_class_def, Handle<mirror::Class> klass) argument 2947 AllocArtFieldArray(Thread* self, LinearAlloc* allocator, size_t length) argument 2963 AllocArtMethodArray(Thread* self, LinearAlloc* allocator, size_t length) argument 3005 LoadClassMembers(Thread* self, const DexFile& dex_file, const uint8_t* class_data, Handle<mirror::Class> klass, const OatFile::OatClass* oat_class) argument 3115 LoadMethod(Thread* self, const DexFile& dex_file, const ClassDataItemIterator& it, Handle<mirror::Class> klass, ArtMethod* dst) argument 3171 AppendToBootClassPath(Thread* self, const DexFile& dex_file) argument 3191 Thread* const self = Thread::Current(); local 3232 Thread* self = Thread::Current(); local 3274 FindDexCache(Thread* self, const DexFile& dex_file, bool allow_failure) argument 3281 FindDexCacheLocked(Thread* self, const DexFile& dex_file, bool allow_failure) argument 3313 Thread* const self = Thread::Current(); local 3326 CreatePrimitiveClass(Thread* self, Primitive::Type type) argument 3339 Thread* self = Thread::Current(); local 3366 CreateArrayClass(Thread* self, const char* descriptor, size_t hash, Handle<mirror::ClassLoader> class_loader) argument 3596 LookupClass(Thread* self, const char* descriptor, size_t hash, mirror::ClassLoader* class_loader) argument 3651 Thread* self = Thread::Current(); local 3757 Thread* const self = Thread::Current(); local 3768 AttemptSupertypeVerification(Thread* self, Handle<mirror::Class> klass, Handle<mirror::Class> supertype) argument 3809 VerifyClass(Thread* self, Handle<mirror::Class> klass, LogSeverity log_level) argument 4129 Thread* self = soa.Self(); local 4287 Thread* const self = Thread::Current(); local 4434 InitializeClass(Thread* self, Handle<mirror::Class> klass, bool can_init_statics, bool can_init_parents) argument 4694 InitializeDefaultInterfaceRecursive(Thread* self, Handle<mirror::Class> iface, bool can_init_statics, bool can_init_parents) argument 4935 Thread* self = Thread::Current(); local 4976 EnsureInitialized(Thread* self, Handle<mirror::Class> c, bool can_init_fields, bool can_init_parents) argument 5026 Thread* const self = Thread::Current(); local 5056 LinkClass(Thread* self, const char* descriptor, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, MutableHandle<mirror::Class>* h_new_class_out) argument 5478 LinkMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, ArtMethod** out_imt) argument 5616 LinkVirtualMethods( Thread* self, Handle<mirror::Class> klass, std::unordered_map<size_t, ClassLinker::MethodTranslation>* default_translations) argument 5899 FindDefaultMethodImplementation( Thread* self, ArtMethod* target_method, Handle<mirror::Class> klass, ArtMethod** out_default_method) const argument 6323 SetupInterfaceLookupTable(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces) argument 6482 LinkInterfaceMethods( Thread* self, Handle<mirror::Class> klass, const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations, ArtMethod** out_imt) argument 7034 LinkInstanceFields(Thread* self, Handle<mirror::Class> klass) argument 7039 LinkStaticFields(Thread* self, Handle<mirror::Class> klass, size_t* class_size) argument 7078 LinkFields(Thread* self, Handle<mirror::Class> klass, bool is_static, size_t* class_size) argument 7341 Thread* self = Thread::Current(); local 7617 Thread* const self = Thread::Current(); local 7659 Thread* self = Thread::Current(); local 7867 CreatePathClassLoader(Thread* self, const std::vector<const DexFile*>& dex_files) argument 7984 Thread* const self = Thread::Current(); local 7994 Thread* const self = Thread::Current(); local 8007 Thread* const self = Thread::Current(); local 8019 Thread* const self = Thread::Current(); local 8109 Thread* const self = Thread::Current(); local [all...] |
H A D | java_vm_ext.h | 122 jobject AddGlobalRef(Thread* self, mirror::Object* obj) 125 jweak AddWeakGlobalRef(Thread* self, mirror::Object* obj) 128 void DeleteGlobalRef(Thread* self, jobject obj) REQUIRES(!globals_lock_); 130 void DeleteWeakGlobalRef(Thread* self, jweak obj) REQUIRES(!weak_globals_lock_); 138 void UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result) 141 mirror::Object* DecodeWeakGlobal(Thread* self, IndirectRef ref) 145 mirror::Object* DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) 149 // Like DecodeWeakGlobal() but to be used only during a runtime shutdown where self may be 151 mirror::Object* DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) 156 bool IsWeakGlobalCleared(Thread* self, IndirectRe [all...] |
/art/runtime/gc/space/ |
H A D | space_test.h | 55 mirror::Class* GetByteArrayClass(Thread* self) SHARED_REQUIRES(Locks::mutator_lock_) { 56 StackHandleScope<1> hs(self); 60 Runtime::Current()->GetClassLinker()->FindClass(self, "[B", null_loader); 62 byte_array_class_ = self->GetJniEnv()->NewLocalRef(byte_array_class); 65 return reinterpret_cast<mirror::Class*>(self->DecodeJObject(byte_array_class_)); 69 Thread* self, 75 StackHandleScope<1> hs(self); 76 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self))); 77 mirror::Object* obj = alloc_space->Alloc(self, 89 Thread* self, 175 Thread* self = Thread::Current(); local [all...] |
H A D | dlmalloc_space-inl.h | 28 inline mirror::Object* DlMallocSpace::AllocNonvirtual(Thread* self, size_t num_bytes, argument 34 MutexLock mu(self, lock_); 35 obj = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size, 55 Thread* /*self*/, size_t num_bytes,
|
H A D | bump_pointer_space.cc | 103 Thread* self = Thread::Current(); local 104 MutexLock mu(self, *Locks::runtime_shutdown_lock_); 105 MutexLock mu2(self, *Locks::thread_list_lock_); 123 Thread* self = Thread::Current(); local 124 MutexLock mu(self, *Locks::runtime_shutdown_lock_); 125 MutexLock mu2(self, *Locks::thread_list_lock_); 216 Thread* self = Thread::Current(); local 217 MutexLock mu(self, *Locks::runtime_shutdown_lock_); 218 MutexLock mu2(self, *Locks::thread_list_lock_); 234 Thread* self local 255 AllocNewTlab(Thread* self, size_t bytes) argument [all...] |
/art/compiler/utils/ |
H A D | dedupe_set_test.cc | 55 Thread* self = Thread::Current(); local 66 array1 = deduplicator.Add(self, test1); 75 array2 = deduplicator.Add(self, test2); 84 array3 = deduplicator.Add(self, test3);
|
/art/runtime/gc/accounting/ |
H A D | mod_union_table_test.cc | 49 Thread* self, space::ContinuousMemMapAllocSpace* space, size_t component_count) 51 auto* klass = GetObjectArrayClass(self, space); 55 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); 70 mirror::Class* GetObjectArrayClass(Thread* self, space::ContinuousMemMapAllocSpace* space) 83 auto* klass = down_cast<mirror::Class*>(space->Alloc(self, class_size, &bytes_allocated, 177 Thread* const self = Thread::Current(); local 178 ScopedObjectAccess soa(self); 189 ScopedThreadSuspension sts(self, kSuspended); 197 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); 199 auto* obj2 = AllocObjectArray(self, spac [all...] |
/art/runtime/gc/ |
H A D | heap.cc | 619 PrintFileToLog("/proc/self/maps", LogSeverity::ERROR); 728 Thread* const self = Thread::Current(); local 729 ScopedThreadStateChange tsc(self, kSuspended); 738 WriterMutexLock mu(self, *Locks::heap_bitmap_lock_); 837 void Heap::IncrementDisableMovingGC(Thread* self) { argument 840 ScopedThreadStateChange tsc(self, kWaitingForGcToComplete); 841 MutexLock mu(self, *gc_complete_lock_); 844 WaitForGcToCompleteLocked(kGcCauseDisableMovingGc, self); 848 void Heap::DecrementDisableMovingGC(Thread* self) { argument 849 MutexLock mu(self, *gc_complete_lock 854 IncrementDisableThreadFlip(Thread* self) argument 882 DecrementDisableThreadFlip(Thread* self) argument 902 ThreadFlipBegin(Thread* self) argument 927 ThreadFlipEnd(Thread* self) argument 973 Thread* self = Thread::Current(); local 1003 Thread* self = Thread::Current(); local 1011 Thread* self = Thread::Current(); local 1327 ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) argument 1375 Trim(Thread* self) argument 1408 TrimIndirectReferenceTables(Thread* self) argument 1424 StartGC(Thread* self, GcCause cause, CollectorType collector_type) argument 1431 TrimSpaces(Thread* self) argument 1684 AllocateInternalWithGc(Thread* self, AllocatorType allocator, bool instrumented, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated, mirror::Class** klass) argument 1870 Thread* const self = Thread::Current(); local 2024 Thread* self = Thread::Current(); local 2103 Thread* const self = Thread::Current(); local 2433 Thread* self = Thread::Current(); local 2610 Thread* self = Thread::Current(); local 2775 FinishGC(Thread* self, collector::GcType gc_type) argument 3039 PushOnAllocationStackWithInternalGC(Thread* self, mirror::Object** obj) argument 3054 PushOnThreadLocalAllocationStackWithInternalGC(Thread* self, mirror::Object** obj) argument 3078 Thread* self = Thread::Current(); local 3208 Thread* self = Thread::Current(); local 3233 RevokeAllThreadLocalAllocationStacks(Thread* self) argument 3332 Thread* const self = Thread::Current(); local 3380 Thread* const self = Thread::Current(); local 3412 Thread* const self = Thread::Current(); local 3450 WaitForGcToComplete(GcCause cause, Thread* self) argument 3456 WaitForGcToCompleteLocked(GcCause cause, Thread* self) argument 3663 AddFinalizerReference(Thread* self, mirror::Object** object) argument 3673 RequestConcurrentGCAndSaveObject(Thread* self, bool force_full, mirror::Object** obj) argument 3703 RequestConcurrentGC(Thread* self, bool force_full) argument 3711 ConcurrentGC(Thread* self, bool force_full) argument 3748 ClearPendingCollectorTransition(Thread* self) argument 3754 Thread* self = Thread::Current(); local 3784 ClearPendingTrim(Thread* self) argument 3789 RequestTrim(Thread* self) argument 3871 Thread* self = ThreadForEnv(env); local 4072 CheckGcStressMode(Thread* self, mirror::Object** obj) argument 4105 Thread* const self = Thread::Current(); local [all...] |
/art/runtime/interpreter/mterp/arm/ |
H A D | op_instance_of.S | 13 mov r3, rSELF @ r3<- self 14 bl MterpInstanceOf @ (index, &obj, method, self)
|
/art/runtime/interpreter/mterp/mips/ |
H A D | op_instance_of.S | 13 move a3, rSELF # a3 <- self 15 JAL(MterpInstanceOf) # v0 <- Mterp(index, &obj, method, self)
|
/art/runtime/verifier/ |
H A D | method_verifier_test.cc | 35 Thread* self = Thread::Current(); local 36 mirror::Class* klass = class_linker_->FindSystemClass(self, descriptor.c_str()); 40 MethodVerifier::FailureKind failure = MethodVerifier::VerifyClass(self,
|
/art/runtime/interpreter/ |
H A D | interpreter_common.cc | 40 bool DoFieldGet(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, argument 45 FindFieldFromCode<find_type, do_access_check>(field_idx, shadow_frame.GetMethod(), self, 48 CHECK(self->IsExceptionPending()); 61 f->GetDeclaringClass()->AssertInitializedOrInitializingInThread(self); 66 instrumentation->FieldReadEvent(self, this_object, shadow_frame.GetMethod(), 101 template bool DoFieldGet<_find_type, _field_type, _do_check>(Thread* self, \ 234 bool DoFieldPut(Thread* self, const ShadowFrame& shadow_frame, const Instruction* inst, argument 240 FindFieldFromCode<find_type, do_access_check>(field_idx, shadow_frame.GetMethod(), self, 243 CHECK(self->IsExceptionPending()); 256 f->GetDeclaringClass()->AssertInitializedOrInitializingInThread(self); 425 FindNextInstructionFollowingException( Thread* self, ShadowFrame& shadow_frame, uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation) argument 476 AbortTransactionF(Thread* self, const char* fmt, ...) argument 483 AbortTransactionV(Thread* self, const char* fmt, va_list args) argument 570 DoCallCommon(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, JValue* result, uint16_t number_of_inputs, uint32_t (&arg)[kVarArgMax], uint32_t vregC) argument 773 DoLambdaCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data ATTRIBUTE_UNUSED, JValue* result) argument 801 DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 824 DoFilledNewArray(const Instruction* inst, const ShadowFrame& shadow_frame, Thread* self, JValue* result) argument [all...] |