Home
last modified time | relevance | path

Searched refs:self (Results 201 – 225 of 397) sorted by relevance

12345678910>>...16

/art/openjdkjvmti/
Dti_dump.cc76 art::Thread* self = art::Thread::Current(); in DumpInternalState() local
77 if (jvmti == nullptr || self == nullptr) { in DumpInternalState()
85 DeoptManager::Get()->DumpDeoptInfo(self, ss); in DumpInternalState()
Dtransform.h57 art::Thread* self,
62 art::Thread* self,
Dti_phase.cc60 art::Thread* self = art::Thread::Current(); in NextRuntimePhase() local
68 event_handler->DispatchEvent<ArtJvmtiEvent::kVmStart>(self, GetJniEnv()); in NextRuntimePhase()
77 event_handler->DispatchEvent<ArtJvmtiEvent::kVmInit>(self, GetJniEnv(), thread.get()); in NextRuntimePhase()
87 event_handler->DispatchEvent<ArtJvmtiEvent::kVmDeath>(self, GetJniEnv()); in NextRuntimePhase()
/art/runtime/
Dscoped_thread_state_change.h44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state)
109 ALWAYS_INLINE explicit ScopedObjectAccessAlreadyRunnable(Thread* self)
152 ALWAYS_INLINE explicit ScopedObjectAccessUnchecked(Thread* self)
177 ALWAYS_INLINE explicit ScopedObjectAccess(Thread* self)
198 ALWAYS_INLINE explicit ScopedThreadSuspension(Thread* self, ThreadState suspended_state)
Dart_method.cc269 Thread* self = Thread::Current(); in FindCatchBlock() local
270 StackHandleScope<1> hs(self); in FindCatchBlock()
271 Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException())); in FindCatchBlock()
272 self->ClearException(); in FindCatchBlock()
290 self->ClearException(); in FindCatchBlock()
293 delete self->GetLongJumpContext(); in FindCatchBlock()
307 self->SetException(exception.Get()); in FindCatchBlock()
312 void ArtMethod::Invoke(Thread* self, uint32_t* args, uint32_t args_size, JValue* result, in Invoke() argument
314 if (UNLIKELY(__builtin_frame_address(0) < self->GetStackEnd())) { in Invoke()
315 ThrowStackOverflowError(self); in Invoke()
[all …]
Dmethod_handles.h122 bool PerformConversions(Thread* self,
130 bool MethodHandleInvoke(Thread* self,
138 bool MethodHandleInvokeExact(Thread* self,
Dmethod_handles-inl.h166 bool PerformConversions(Thread* self, in PerformConversions() argument
173 StackHandleScope<2> hs(self); in PerformConversions()
203 DCHECK(self->IsExceptionPending()); in PerformConversions()
219 bool PerformConversions(Thread* self, in PerformConversions() argument
226 return PerformConversions(self, callsite_type, callee_type, getter, setter, 0, num_conversions); in PerformConversions()
230 bool PerformConversions(Thread* self, in PerformConversions() argument
237 return PerformConversions(self, callsite_type, callee_type, getter, setter, 0, num_conversions); in PerformConversions()
Dobject_lock.h31 ObjectLock(Thread* self, Handle<T> object) REQUIRES_SHARED(Locks::mutator_lock_);
51 ObjectTryLock(Thread* self, Handle<T> object) REQUIRES_SHARED(Locks::mutator_lock_);
Dthread_list.h149 void Register(Thread* self)
154 void Unregister(Thread* self)
189 uint32_t AllocThreadId(Thread* self);
190 void ReleaseThreadId(Thread* self, uint32_t id) REQUIRES(!Locks::allocated_thread_ids_lock_);
202 void SuspendAllInternal(Thread* self,
208 void AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2 = nullptr)
Dcommon_runtime_test.cc237 Thread* self = Thread::Current(); in LoadMultiDex() local
238 jobject class_loader = Runtime::Current()->GetClassLinker()->CreatePathClassLoader(self, in LoadMultiDex()
240 self->SetClassLoaderOverride(class_loader); in LoadMultiDex()
264 Thread* self = Thread::Current(); in LoadDexInWellKnownClassLoader() local
265 ScopedObjectAccess soa(self); in LoadDexInWellKnownClassLoader()
268 self, in LoadDexInWellKnownClassLoader()
329 void CommonRuntimeTestImpl::FillHeap(Thread* self, in FillHeap() argument
338 class_linker->FindSystemClass(self, "Ljava/lang/Object;"))); in FillHeap()
341 class_linker->FindSystemClass(self, "[Ljava/lang/Object;"))); in FillHeap()
348 mirror::ObjectArray<mirror::Object>::Alloc(self, ca.Get(), array_length))); in FillHeap()
[all …]
/art/compiler/utils/
Ddedupe_set.h42 const StoreKey* Add(Thread* self, const InKey& key);
48 std::string DumpStats(Thread* self) const;
Ddedupe_set-inl.h71 const StoreKey* Add(Thread* self, size_t hash, const InKey& in_key) REQUIRES(!lock_) {
72 MutexLock lock(self, lock_);
84 void UpdateStats(Thread* self, Stats* global_stats) REQUIRES(!lock_) {
89 MutexLock lock(self, lock_);
190 Thread* self, const InKey& key) {
202 return shards_[shard_bin]->Add(self, shard_hash, key);
238 Thread* self) const {
241 shards_[shard]->UpdateStats(self, &stats);
/art/runtime/dex/
Ddex_file_annotations.cc358 Thread* self = Thread::Current(); in ProcessEncodedAnnotation() local
359 ScopedObjectAccessUnchecked soa(self); in ProcessEncodedAnnotation()
360 StackHandleScope<4> hs(self); in ProcessEncodedAnnotation()
377 class_linker->FindArrayClass(self, annotation_member_class); in ProcessEncodedAnnotation()
384 mirror::ObjectArray<mirror::Object>::Alloc(self, annotation_member_array_class, size); in ProcessEncodedAnnotation()
405 create_annotation_method->Invoke(self, args, sizeof(args), &result, "LLL"); in ProcessEncodedAnnotation()
406 if (self->IsExceptionPending()) { in ProcessEncodedAnnotation()
422 Thread* self = Thread::Current(); in ProcessAnnotationValue() local
475 StackHandleScope<1> hs(self); in ProcessAnnotationValue()
491 StackHandleScope<2> hs(self); in ProcessAnnotationValue()
[all …]
/art/runtime/gc/
Dallocation_listener.h57 virtual void PreObjectAllocated(Thread* self ATTRIBUTE_UNUSED, in PreObjectAllocated()
64 virtual void ObjectAllocated(Thread* self, ObjPtr<mirror::Object>* obj, size_t byte_count)
/art/runtime/jit/
Ddebugger_interface.h45 void AddNativeDebugInfoForDex(Thread* self, const DexFile* dexfile);
48 void RemoveNativeDebugInfoForDex(Thread* self, const DexFile* dexfile);
/art/runtime/mirror/
Dmethod.h34 static ObjPtr<Method> CreateFromArtMethod(Thread* self, ArtMethod* method)
45 static ObjPtr<Constructor> CreateFromArtMethod(Thread* self, ArtMethod* method)
Dmethod_type_test.cc47 Thread* const self = Thread::Current(); in CreateMethodType() local
49 ScopedObjectAccess soa(self); in CreateMethodType()
61 mirror::ObjectArray<mirror::Class>::Alloc(self, class_array_type, param_types.size())); in CreateMethodType()
69 return mirror::MethodType::Create(self, return_clazz, param_classes); in CreateMethodType()
Dmethod_type.h33 static ObjPtr<MethodType> Create(Thread* const self,
38 static ObjPtr<MethodType> CloneWithoutLeadingParameter(Thread* const self,
44 static ObjPtr<MethodType> CollectTrailingArguments(Thread* const self,
/art/runtime/gc/space/
Dzygote_space.h51 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
56 size_t Free(Thread* self, mirror::Object* ptr) override;
58 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override;
/art/compiler/driver/
Dcompiler_options.cc181 Thread* self = Thread::Current(); in IsMethodVerifiedWithoutFailures() local
182 ScopedObjectAccess soa(self); in IsMethodVerifiedWithoutFailures()
183 bool is_system_class = class_linker->FindSystemClass(self, descriptor) != nullptr; in IsMethodVerifiedWithoutFailures()
185 self->ClearException(); in IsMethodVerifiedWithoutFailures()
/art/runtime/gc/collector/
Dconcurrent_copying.h127 ALWAYS_INLINE mirror::Object* Mark(Thread* const self,
161 void PushOntoMarkStack(Thread* const self, mirror::Object* obj)
164 mirror::Object* Copy(Thread* const self,
190 void MarkRoot(Thread* const self, mirror::CompressedReference<mirror::Object>* root)
231 void ProcessReferences(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
246 void SweepSystemWeaks(Thread* self)
260 void FillWithFakeObject(Thread* const self, mirror::Object* fake_obj, size_t byte_size)
263 mirror::Object* AllocateInSkippedBlock(Thread* const self, size_t alloc_size)
273 void RecordLiveStackFreezeSize(Thread* self);
289 void ReenableWeakRefAccess(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc53 Thread* self = Thread::Current(); in RunTest() local
57 ScopedObjectAccess soa(self); in RunTest()
66 ScopedObjectAccess soa(self); in RunTest()
/art/test/1945-proxy-method-arguments/
Dget_args.cc88 Thread* self = Thread::Current(); in GetProxyReferenceArgument() local
89 ScopedObjectAccess soa(self); in GetProxyReferenceArgument()
92 GetProxyQuickFrameVisitor visitor(self, context.get(), proxy_method_frame_depth); in GetProxyReferenceArgument()
/art/runtime/native/
Djava_lang_Class.cc65 static hiddenapi::AccessContext GetReflectionCaller(Thread* self) in GetReflectionCaller() argument
121 FirstExternalCallerVisitor visitor(self); in GetReflectionCaller()
133 static std::function<hiddenapi::AccessContext()> GetHiddenapiAccessContextFunction(Thread* self) { in GetHiddenapiAccessContextFunction() argument
134 return [=]() REQUIRES_SHARED(Locks::mutator_lock_) { return GetReflectionCaller(self); }; in GetHiddenapiAccessContextFunction()
140 ALWAYS_INLINE static bool ShouldDenyAccessToMember(T* member, Thread* self) in ShouldDenyAccessToMember() argument
143 GetHiddenapiAccessContextFunction(self), in ShouldDenyAccessToMember()
282 Thread* self, in GetDeclaredFields() argument
290 StackHandleScope<1> hs(self); in GetDeclaredFields()
294 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(self); in GetDeclaredFields()
308 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
[all …]
/art/perfetto_hprof/
Dperfetto_hprof.cc267 void WaitForDataSource(art::Thread* self) { in WaitForDataSource() argument
278 art::MutexLock lk(self, GetStateMutex()); in WaitForDataSource()
280 GetStateCV().Wait(self); in WaitForDataSource()
463 void DumpPerfetto(art::Thread* self) { in DumpPerfetto() argument
474 art::gc::ScopedGCCriticalSection gcs(self, art::gc::kGcCauseHprof, in DumpPerfetto()
515 WaitForDataSource(self); in DumpPerfetto()
661 art::MutexLock lk(self, GetStateMutex()); in DumpPerfetto()
663 GetStateCV().Wait(self); in DumpPerfetto()
676 art::Thread* self = art::Thread::Current(); in ArtPlugin_Initialize() local
678 art::MutexLock lk(self, GetStateMutex()); in ArtPlugin_Initialize()
[all …]

12345678910>>...16