Lines Matching refs:Current

150 #define STATS_LOCK() MutexLock mu(Thread::Current(), stats_lock_)
385 CHECK(!Runtime::Current()->IsStarted()); in CompilerDriver()
409 return dedupe_code_.Add(Thread::Current(), code); in DeduplicateCode()
413 return dedupe_mapping_table_.Add(Thread::Current(), code); in DeduplicateMappingTable()
417 return dedupe_vmap_table_.Add(Thread::Current(), code); in DeduplicateVMapTable()
421 return dedupe_gc_map_.Add(Thread::Current(), code); in DeduplicateGCMap()
425 return dedupe_cfi_info_.Add(Thread::Current(), cfi_info); in DeduplicateCFIInfo()
429 Thread* self = Thread::Current(); in ~CompilerDriver()
509 DCHECK(!Runtime::Current()->IsStarted()); in CompileAll()
523 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetDexToDexCompilationlevel()
550 DCHECK(!Runtime::Current()->IsStarted()); in CompileOne()
551 Thread* self = Thread::Current(); in CompileOne()
580 ScopedObjectAccess soa(Thread::Current()); in CompileOne()
690 StackHandleScope<1> hs(Thread::Current()); in ResolveCatchBlockExceptionsClassVisitor()
721 Thread* self = Thread::Current(); in LoadImageClasses()
723 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in LoadImageClasses()
779 Thread* self = Thread::Current(); in MaybeAddToImageClasses()
808 StackHandleScope<1> hs(Thread::Current()); in FindClinitImageClassesCallback()
816 Thread* self = Thread::Current(); in UpdateImageClasses()
818 gc::Heap* heap = Runtime::Current()->GetHeap(); in UpdateImageClasses()
820 ScopedObjectAccess soa(Thread::Current()); in UpdateImageClasses()
831 ScopedObjectAccess soa(Thread::Current()); in CanAssumeTypeIsPresentInDexCache()
832 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); in CanAssumeTypeIsPresentInDexCache()
855 ScopedObjectAccess soa(Thread::Current()); in CanAssumeStringIsPresentInDexCache()
858 hs.NewHandle(Runtime::Current()->GetClassLinker()->FindDexCache(dex_file))); in CanAssumeStringIsPresentInDexCache()
859 Runtime::Current()->GetClassLinker()->ResolveString(dex_file, string_idx, dex_cache); in CanAssumeStringIsPresentInDexCache()
883 ScopedObjectAccess soa(Thread::Current()); in CanAccessTypeWithoutChecks()
884 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); in CanAccessTypeWithoutChecks()
920 ScopedObjectAccess soa(Thread::Current()); in CanAccessInstantiableTypeWithoutChecks()
921 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); in CanAccessInstantiableTypeWithoutChecks()
952 ScopedObjectAccess soa(Thread::Current()); in CanEmbedTypeInCode()
953 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); in CanEmbedTypeInCode()
959 const bool compiling_boot = Runtime::Current()->GetHeap()->IsCompilingBoot(); in CanEmbedTypeInCode()
978 Runtime::Current()->GetHeap()->FindSpaceFromObject(resolved_class, false)->IsImageSpace(); in CanEmbedTypeInCode()
1002 ScopedObjectAccess soa(Thread::Current()); in CanEmbedStringInCode()
1003 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); in CanEmbedStringInCode()
1008 const bool compiling_boot = Runtime::Current()->GetHeap()->IsCompilingBoot(); in CanEmbedStringInCode()
1024 …false && Runtime::Current()->GetHeap()->FindSpaceFromObject(resolved_string, false)->IsImageSpace(… in CanEmbedStringInCode()
1097 ScopedObjectAccess soa(Thread::Current()); in ComputeInstanceFieldInfo()
1118 ScopedObjectAccess soa(Thread::Current()); in ComputeStaticFieldInfo()
1171 const bool compiling_boot = Runtime::Current()->GetHeap()->IsCompilingBoot(); in GetCodeAndMethodForDirectCall()
1211 Runtime::Current()->GetHeap()->FindSpaceFromObject(declaring_class, in GetCodeAndMethodForDirectCall()
1227 StackHandleScope<1> hs(Thread::Current()); in GetCodeAndMethodForDirectCall()
1253 Runtime::Current()->GetHeap()->FindSpaceFromObject(method, false)->IsImageSpace(); in GetCodeAndMethodForDirectCall()
1286 ScopedObjectAccess soa(Thread::Current()); in ComputeInvokeInfo()
1373 MutexLock mu(Thread::Current(), compiled_methods_lock_); in AddCodePatch()
1392 MutexLock mu(Thread::Current(), compiled_methods_lock_); in AddRelativeCodePatch()
1411 MutexLock mu(Thread::Current(), compiled_methods_lock_); in AddMethodPatch()
1426 MutexLock mu(Thread::Current(), compiled_methods_lock_); in AddClassPatch()
1438 MutexLock mu(Thread::Current(), compiled_methods_lock_); in AddStringPatch()
1488 Thread* self = Thread::Current(); in ForAll()
1598 Thread* self = Thread::Current(); in ResolveClassFieldsAndMethods()
1704 ScopedObjectAccess soa(Thread::Current()); in ResolveType()
1728 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ResolveDexFile()
1767 ScopedObjectAccess soa(Thread::Current()); in VerifyClass()
1815 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in VerifyDexFile()
1824 ScopedObjectAccess soa(Thread::Current()); in SetVerifiedClass()
1859 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in SetVerifiedDexFile()
1874 ScopedObjectAccess soa(Thread::Current()); in InitializeClass()
1913 Runtime* const runtime = Runtime::Current(); in InitializeClass()
1954 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in InitializeClasses()
1977 Runtime::Current()->GetHeap()->CollectGarbage(true); in InitializeClasses()
2000 ScopedObjectAccess soa(Thread::Current()); in CompileClass()
2027 ScopedObjectAccess soa(Thread::Current()); in CompileClass()
2088 ParallelCompilationManager context(Runtime::Current()->GetClassLinker(), class_loader, this, in CompileDexFile()
2143 Thread* self = Thread::Current(); in CompileMethod()
2164 MutexLock mu(Thread::Current(), compiled_classes_lock_); in GetCompiledClass()
2174 MutexLock mu(Thread::Current(), compiled_classes_lock_); in RecordClassStatus()
2200 MutexLock mu(Thread::Current(), compiled_methods_lock_); in GetCompiledMethod()
2304 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetMemoryUsageString()