/art/runtime/ |
D | handle_scope-inl.h | 47 inline StackHandleScope<kNumReferences>::StackHandleScope(Thread* self, in StackHandleScope() argument 49 : FixedSizeHandleScope<kNumReferences>(self->GetTopHandleScope(), fill_value), in StackHandleScope() 50 self_(self) { in StackHandleScope() 51 DCHECK_EQ(self, Thread::Current()); in StackHandleScope() 212 inline VariableSizedHandleScope::VariableSizedHandleScope(Thread* const self) in VariableSizedHandleScope() argument 213 : BaseHandleScope(self->GetTopHandleScope()), in VariableSizedHandleScope() 214 self_(self), in VariableSizedHandleScope()
|
D | backtrace_helper.cc | 64 static UnwindHelper* Get(Thread* self, size_t max_depth) { in Get() 65 UnwindHelper* tls = reinterpret_cast<UnwindHelper*>(self->GetCustomTLS(kTlsKey)); in Get() 68 self->SetCustomTLS(kTlsKey, tls); in Get()
|
D | monitor_objects_stack_visitor.cc | 91 MonitorObjectsStackVisitor* self = reinterpret_cast<MonitorObjectsStackVisitor*>(context); in VisitLockedObject() local 100 self->VisitLockedObject(o); in VisitLockedObject()
|
D | aot_class_linker.h | 43 verifier::FailureKind PerformClassVerification(Thread* self, 57 bool InitializeClass(Thread *self,
|
D | module_exclusion_test.cc | 51 Thread* self = Thread::Current(); in DoTest() local 52 ScopedObjectAccess soa(self); in DoTest() 53 StackHandleScope<2u> hs(self); in DoTest() 70 ASSERT_TRUE(self->IsExceptionPending()); in DoTest() 71 self->ClearException(); in DoTest()
|
D | trace.cc | 163 Thread* self = Thread::Current(); in GetClockOverheadNanoSeconds() local 164 uint64_t start = self->GetCpuMicroTime(); in GetClockOverheadNanoSeconds() 177 uint64_t elapsed_us = self->GetCpuMicroTime() - start; in GetClockOverheadNanoSeconds() 283 Thread* self = Thread::Current(); in RunSamplingThread() local 286 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread() 296 gc::ScopedGCCriticalSection gcs(self, in RunSamplingThread() 300 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread() 374 Thread* self = Thread::Current(); in Start() local 376 MutexLock mu(self, *Locks::trace_lock_); in Start() 386 ScopedObjectAccess soa(self); in Start() [all …]
|
/art/runtime/mirror/ |
D | var_handle_test.cc | 43 static ObjPtr<FieldVarHandle> CreateFieldVarHandle(Thread* const self, in CreateFieldVarHandle() argument 47 StackHandleScope<4> hs(self); in CreateFieldVarHandle() 49 ObjPtr<FieldVarHandle>::DownCast(GetClassRoot<FieldVarHandle>()->AllocObject(self))); in CreateFieldVarHandle() 66 static ObjPtr<ArrayElementVarHandle> CreateArrayElementVarHandle(Thread* const self, in CreateArrayElementVarHandle() argument 70 StackHandleScope<3> hs(self); in CreateArrayElementVarHandle() 73 GetClassRoot<ArrayElementVarHandle>()->AllocObject(self))); in CreateArrayElementVarHandle() 84 Thread* const self, in CreateByteArrayViewVarHandle() argument 89 StackHandleScope<4> hs(self); in CreateByteArrayViewVarHandle() 92 GetClassRoot<ByteArrayViewVarHandle>()->AllocObject(self))); in CreateByteArrayViewVarHandle() 105 Thread* const self, in CreateByteBufferViewVarHandle() argument [all …]
|
D | object.cc | 154 ObjPtr<Object> Object::Clone(Handle<Object> h_this, Thread* self) { in Clone() argument 162 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone() 163 : heap->AllocNonMovableObject(self, h_this->GetClass(), num_bytes, visitor); in Clone() 165 heap->AddFinalizerReference(self, ©); in Clone() 204 Thread* self = Thread::Current(); in IdentityHashCode() local 205 StackHandleScope<1> hs(self); in IdentityHashCode() 207 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCode()
|
D | stack_trace_element.cc | 30 ObjPtr<StackTraceElement> StackTraceElement::Alloc(Thread* self, in Alloc() argument 36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
|
/art/runtime/jni/ |
D | jni_env_ext.cc | 174 static uintptr_t GetJavaCallFrame(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) { in GetJavaCallFrame() argument 175 NthCallerVisitor zeroth_caller(self, 0, false); in GetJavaCallFrame() 194 static std::string ComputeMonitorDescription(Thread* self, in ComputeMonitorDescription() argument 196 ObjPtr<mirror::Object> o = self->DecodeJObject(obj); in ComputeMonitorDescription() 198 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription() 212 static void RemoveMonitors(Thread* self, in RemoveMonitors() argument 220 [self, frame, monitors](const std::pair<uintptr_t, jobject>& pair) in RemoveMonitors() 223 ObjPtr<mirror::Object> o = self->DecodeJObject(pair.second); in RemoveMonitors()
|
/art/adbconnection/ |
D | adbconnection.h | 82 void RunPollLoop(art::Thread* self); 112 void HandleDataWithoutAgent(art::Thread* self); 116 void AttachJdwpAgent(art::Thread* self);
|
/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 24 def __init__(self): argument 25 self.currentState = C1ParserState.OutsideBlock 26 self.lastMethodName = None
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 59 Thread* const self = GetSelf(env); in DdmVmInternal_getStackTraceById() local 60 if (static_cast<uint32_t>(thin_lock_id) == self->GetThreadId()) { in DdmVmInternal_getStackTraceById() 63 jobject internal_trace = self->CreateInternalStackTrace(soa); in DdmVmInternal_getStackTraceById() 195 Thread* self = GetSelf(env); in DdmVmInternal_getThreadStats() local 197 MutexLock mu(self, *Locks::thread_list_lock_); in DdmVmInternal_getThreadStats()
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 456 void Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) 780 void* AllocPages(Thread* self, size_t num_pages, uint8_t page_map_type) 783 size_t FreePages(Thread* self, void* ptr, bool already_zero) REQUIRES(lock_); 786 void* AllocFromRun(Thread* self, size_t size, size_t* bytes_allocated, size_t* usable_size, 791 void* AllocFromRunThreadUnsafe(Thread* self, size_t size, size_t* bytes_allocated, 794 void* AllocFromCurrentRunUnlocked(Thread* self, size_t idx) REQUIRES(!lock_); 797 size_t FreeFromRun(Thread* self, void* ptr, Run* run) 801 Run* AllocRun(Thread* self, size_t idx) REQUIRES(!lock_); 805 Run* RefillRun(Thread* self, size_t idx) REQUIRES(!lock_); 808 size_t FreeInternal(Thread* self, void* ptr) REQUIRES(!lock_); [all …]
|
/art/compiler/ |
D | common_compiler_test.cc | 192 Thread* self = Thread::Current(); in CompileMethod() local 193 StackHandleScope<2> hs(self); in CompileMethod() 197 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); in CompileMethod() 232 Thread* self = Thread::Current(); in CompileDirectMethod() local 234 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() 247 Thread* self = Thread::Current(); in CompileVirtualMethod() local 249 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod()
|
/art/test/661-oat-writer-layout/ |
D | oat_writer_layout.cc | 53 Thread* self = Thread::Current(); in Java_Main_hasOatCompiledCode() local 55 ObjPtr<mirror::Class> klass_ptr = self->DecodeJObject(kls)->AsClass(); in Java_Main_hasOatCompiledCode()
|
/art/libartbase/base/ |
D | globals.h | 44 static constexpr bool GlobalsReturnSelf(bool self) { return self; } in GlobalsReturnSelf() argument
|
/art/runtime/gc/space/ |
D | malloc_space.h | 48 virtual mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, 52 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 57 size_t Free(Thread* self, mirror::Object* ptr) override 59 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 63 Thread* self = Thread::Current(); in Install() local 64 CHECK(self != nullptr); in Install() 67 WellKnownClasses::Init(self->GetJniEnv()); in Install() 79 jobject class_loader = class_linker->CreatePathClassLoader(self, *out); in Install() 84 *dex_file, self->DecodeJObject(class_loader)->AsClassLoader()); in Install()
|
/art/runtime/verifier/ |
D | method_verifier.h | 119 static MethodVerifier* VerifyMethodAndDump(Thread* self, 135 static MethodVerifier* CalculateVerificationInfo(Thread* self, 216 MethodVerifier(Thread* self, 249 static FailureData VerifyMethod(Thread* self, 271 static FailureData VerifyMethod(Thread* self, 297 static MethodVerifier* CreateVerifier(Thread* self,
|
/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 39 explicit ScopedQuickEntrypointChecks(Thread *self, 42 REQUIRES_SHARED(Locks::mutator_lock_) : self_(self), exit_check_(exit_check) { in REQUIRES_SHARED()
|
/art/test/667-jit-jni-stub/ |
D | jit_jni_stub_test.cc | 31 static bool isNextJitGcFull(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) { in isNextJitGcFull() argument 34 MutexLock mu(self, *Locks::jit_lock_); in isNextJitGcFull()
|
/art/test/1906-suspend-list-me-first/ |
D | expected.txt | 1 Second thread suspended before first thread suspended self!
|
/art/tools/ |
D | generate_operator_out.py | 44 def __init__(self, ns, ec): argument 45 self.namespaces = ns 46 self.enclosing_classes = ec 47 self.lines = []
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 46 void CheckReferenceResult(Handle<mirror::Object> o, Thread* self) { in CheckReferenceResult() argument 51 ArtMethod* method = self->GetCurrentMethod(nullptr); in CheckReferenceResult() 173 Thread* self = Thread::Current(); in FillArrayData() local 174 self->ThrowNewExceptionF("Ljava/lang/ArrayIndexOutOfBoundsException;", in FillArrayData() 247 CallerAndOuterMethod GetCalleeSaveMethodCallerAndOuterMethod(Thread* self, CalleeSaveType type) { in GetCalleeSaveMethodCallerAndOuterMethod() argument 250 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in GetCalleeSaveMethodCallerAndOuterMethod() 259 ArtMethod* GetCalleeSaveOuterMethod(Thread* self, CalleeSaveType type) { in GetCalleeSaveOuterMethod() argument 261 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in GetCalleeSaveOuterMethod()
|