Searched refs:self (Results 1 - 25 of 363) sorted by last modified time

1234567891011>>

/art/compiler/
H A Dcommon_compiler_test.cc113 Thread* self = Thread::Current(); local
114 StackHandleScope<1> hs(self);
116 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
234 Thread* self = Thread::Current(); local
235 StackHandleScope<1> hs(self);
237 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
258 Thread* self = Thread::Current(); local
259 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
272 Thread* self = Thread::Current(); local
273 mirror::Class* klass = class_linker_->FindClass(self, class_descripto
[all...]
H A Dcompiler.h62 virtual bool JitCompile(Thread* self ATTRIBUTE_UNUSED,
H A Delf_writer_quick.cc224 Thread* self = Thread::Current(); local
233 debug_info_thread_pool_->AddTask(self, debug_info_task_.get());
234 debug_info_thread_pool_->StartWorkers(self);
248 Thread* self = Thread::Current(); local
250 debug_info_thread_pool_->Wait(self, true, false);
H A Dimage_writer.cc431 Thread* const self = Thread::Current(); local
432 ReaderMutexLock mu(self, *class_linker->DexLock());
435 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
843 Thread* self = Thread::Current(); local
869 ScopedAssertNoThreadSuspension sa(self, __FUNCTION__);
870 ReaderMutexLock mu(self, *Locks::classlinker_classes_lock_); // For ClassInClassTable
871 ReaderMutexLock mu2(self, *class_linker->DexLock());
873 if (self->IsJWeakCleared(data.weak_root)) {
876 mirror::DexCache* dex_cache = self->DecodeJObject(data.weak_root)->AsDexCache();
951 Thread* const self local
1012 Thread* self = Thread::Current(); local
1333 Thread* const self = Thread::Current(); local
[all...]
/art/compiler/dex/quick/
H A Ddex_file_to_method_inliner_map.cc41 Thread* self = Thread::Current(); local
43 ReaderMutexLock mu(self, lock_);
58 WriterMutexLock mu(self, lock_);
66 locked_inliner->lock_.ExclusiveLock(self); // Acquire inliner's lock_ before releasing lock_.
69 locked_inliner->lock_.ExclusiveUnlock(self);
/art/compiler/dex/
H A Dverification_results.cc40 Thread* self = Thread::Current(); local
42 WriterMutexLock mu(self, verified_methods_lock_);
/art/compiler/driver/
H A Dcompiled_method_storage.cc194 Thread* self = Thread::Current(); local
195 os << "\nCode dedupe: " << dedupe_code_.DumpStats(self);
196 os << "\nVmap table dedupe: " << dedupe_vmap_table_.DumpStats(self);
197 os << "\nCFI info dedupe: " << dedupe_cfi_info_.DumpStats(self);
H A Dcompiler_driver.cc420 Thread* self = Thread::Current(); local
422 MutexLock mu(self, compiled_classes_lock_);
426 MutexLock mu(self, compiled_methods_lock_);
497 Thread* self, const CompilerDriver& driver, Handle<mirror::ClassLoader> class_loader,
507 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader);
509 CHECK(self->IsExceptionPending());
510 self->ClearException();
533 Thread* self,
538 ScopedObjectAccess soa(self);
542 return GetDexToDexCompilationLevel(self, drive
532 GetDexToDexCompilationLevel( Thread* self, const CompilerDriver& driver, jobject jclass_loader, const DexFile& dex_file, const DexFile::ClassDef& class_def) argument
671 CompileOne(Thread* self, ArtMethod* method, TimingLogger* timings) argument
1083 Thread* self = Thread::Current(); local
1146 Thread* self = Thread::Current(); local
1181 Create(std::unordered_set<std::string>* image_class_descriptors, Thread* self, ClassLinker* linker, std::string* error_msg) argument
1343 MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref) argument
1899 Thread* self = Thread::Current(); variable
1932 Run(Thread* self) argument
2037 Thread* const self = Thread::Current(); variable
2365 Thread* self = soa.Self(); variable
2809 Thread* self = Thread::Current(); local
2823 SetRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index, bool requires) argument
2831 RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index) argument
[all...]
H A Dcompiler_driver.h127 void CompileOne(Thread* self, ArtMethod* method, TimingLogger* timings)
188 void SetRequiresConstructorBarrier(Thread* self,
193 bool RequiresConstructorBarrier(Thread* self,
479 void MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref)
H A Dcompiler_driver_test.cc191 Thread* self = Thread::Current(); local
194 ScopedObjectAccess soa(self);
208 ScopedObjectAccess soa(self);
209 StackHandleScope<1> hs(self);
211 reinterpret_cast<mirror::ClassLoader*>(self->DecodeJObject(class_loader))));
212 mirror::Class* klass = class_linker->FindClass(self, "LStaticLeafMethods;", h_loader);
265 Thread* self = Thread::Current(); local
266 ScopedObjectAccess soa(self);
267 StackHandleScope<1> hs(self);
269 reinterpret_cast<mirror::ClassLoader*>(self
295 Thread* self = Thread::Current(); local
[all...]
/art/compiler/jit/
H A Djit_compiler.cc59 void* handle, ArtMethod* method, Thread* self, bool osr)
63 return jit_compiler->CompileMethod(self, method, osr);
202 bool JitCompiler::CompileMethod(Thread* self, ArtMethod* method, bool osr) { argument
205 StackHandleScope<2> hs(self);
206 self->AssertNoPendingException();
211 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) {
221 success = compiler_driver_->GetCompiler()->JitCompile(self, code_cache, method, osr);
H A Djit_compiler.h39 bool CompileMethod(Thread* self, ArtMethod* method, bool osr)
/art/compiler/jni/
H A Djni_compiler_test.cc902 Thread* self = Thread::Current(); local
903 EXPECT_EQ(kNative, self->GetState());
904 Locks::mutator_lock_->AssertNotHeld(self);
905 EXPECT_EQ(self->GetJniEnv(), env);
910 ScopedObjectAccess soa(self);
911 EXPECT_EQ(2U, self->NumStackReferences());
912 EXPECT_TRUE(self->HoldsLock(soa.Decode<mirror::Object*>(thisObj)));
/art/compiler/optimizing/
H A Dinliner.cc224 explicit ScopedProfilingInfoInlineUse(ArtMethod* method, Thread* self) argument
226 self_(self),
230 Runtime::Current()->GetJit()->GetCodeCache()->NotifyCompilerUse(method, self)) {
1061 Thread* self = Thread::Current(); local
1062 requires_ctor_barrier = compiler_driver_->RequiresConstructorBarrier(self,
H A Dinstruction_builder.cc582 Thread* self = Thread::Current(); local
584 && driver->RequiresConstructorBarrier(self, cu->GetDexFile(), cu->GetClassDefIndex());
990 Thread* self = Thread::Current(); local
991 StackHandleScope<2> hs(self);
H A Doptimizing_compiler.cc295 bool JitCompile(Thread* self, jit::JitCodeCache* code_cache, ArtMethod* method, bool osr)
868 bool OptimizingCompiler::JitCompile(Thread* self, argument
872 StackHandleScope<2> hs(self);
891 ScopedThreadSuspension sts(self, kNative);
918 uint8_t* stack_map_data = code_cache->ReserveData(self, stack_map_size, method);
925 self,
936 code_cache->ClearData(self, stack_map_data);
H A Dreference_type_propagation.cc26 static inline mirror::DexCache* FindDexCacheWithHint(Thread* self,
33 return Runtime::Current()->GetClassLinker()->FindDexCache(self, dex_file);
443 Thread* self = Thread::Current(); local
444 StackHandleScope<2> hs(self);
446 hs.NewHandle(FindDexCacheWithHint(self, invoke->GetDexFile(), hint_dex_cache_)));
492 static mirror::Class* GetClassFromDexCache(Thread* self,
497 mirror::DexCache* dex_cache = FindDexCacheWithHint(self, dex_file, hint_dex_cache);
/art/compiler/utils/
H A Ddedupe_set-inl.h69 const StoreKey* Add(Thread* self, size_t hash, const InKey& in_key) REQUIRES(!lock_) {
70 MutexLock lock(self, lock_);
82 void UpdateStats(Thread* self, Stats* global_stats) REQUIRES(!lock_) {
87 MutexLock lock(self, lock_);
188 Thread* self, const InKey& key) {
200 return shards_[shard_bin]->Add(self, shard_hash, key);
236 Thread* self) const {
239 shards_[shard]->UpdateStats(self, &stats);
187 Add( Thread* self, const InKey& key) argument
H A Ddedupe_set.h42 const StoreKey* Add(Thread* self, const InKey& key);
48 std::string DumpStats(Thread* self) const;
H A Ddedupe_set_test.cc55 Thread* self = Thread::Current(); local
66 array1 = deduplicator.Add(self, test1);
75 array2 = deduplicator.Add(self, test2);
84 array3 = deduplicator.Add(self, test3);
/art/dex2oat/
H A Ddex2oat.cc421 WatchDog* self = reinterpret_cast<WatchDog*>(arg); local
423 self->Wait();
1436 Thread* self = Thread::Current(); local
1437 WellKnownClasses::Init(self->GetJniEnv());
1447 ScopedObjectAccess soa(self);
1455 class_loader_ = class_linker->CreatePathClassLoader(self, class_path_files);
1469 ScopedObjectAccess soa(self);
2246 Thread* self = Thread::Current(); local
2247 self->TransitionFromRunnableToSuspended(kNative);
/art/oatdump/
H A Doatdump.cc1405 Thread* self = Thread::Current(); local
1408 WriterMutexLock mu(self, *Locks::heap_bitmap_lock_);
1414 ScopedThreadSuspension sts(self, kNative);
1416 heap->RevokeAllThreadLocalAllocationStacks(self);
1422 ReaderMutexLock mu(self, *class_linker->DexLock());
1425 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
1431 ReaderMutexLock mu(self, *Locks::heap_bitmap_lock_);
2271 Thread* self = Thread::Current(); local
2272 CHECK(self != nullptr);
2274 WellKnownClasses::Init(self
[all...]
/art/runtime/arch/
H A Darch_test.cc46 Thread* const self = Thread::Current(); variable
47 ScopedObjectAccess soa(self); // So we can create callee-save methods.
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc58 Thread* self = Thread::Current(); local
59 CHECK(self != nullptr); // This will cause a SIGABRT if self is null.
61 sc->arm_r0 = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState());
H A Dquick_entrypoints_arm.S553 eor r2, r1, r2 @ lock_word.ThreadId() ^ self->ThreadId()
555 cbnz r2, .Lslow_lock @ lock word and self thread id's match -> recursive lock
604 eor r3, r3, r2 @ lock_word.ThreadId() ^ self->ThreadId()
606 cbnz r3, .Lslow_unlock @ do lock word and self thread id's match?
1374 // Restore self pointer.

Completed in 2921 milliseconds

1234567891011>>