/art/test/2011-stack-walk-concurrent-instrument/ |
D | stack_walk_concurrent.cc | 83 Thread* other = Runtime::Current()->GetThreadList()->SuspendThreadByPeer( in Java_Main_waitAndDeopt() 88 Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(other); in Java_Main_waitAndDeopt()
|
/art/test/141-class-unload/src-ex/ |
D | IntHolder.java | 31 Runtime.getRuntime().gc(); in runGC()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 126 instrumentation::Instrumentation* instrum = Runtime::Current()->GetInstrumentation(); in UpdateEntryPoints() 221 size_t initial_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheInitialCapacity(); in Create() 223 size_t max_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheMaxCapacity(); in Create() 407 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DCheckRootsAreValid() 412 CHECK(!Runtime::Current()->GetHeap()->IsMovableObject(object.Get())); in DCheckRootsAreValid() 439 if (object == nullptr || object == Runtime::GetWeakClassSentinel()) { in SweepRootTables() 454 Runtime::ProcessWeakClass( in SweepRootTables() 457 Runtime::GetWeakClassSentinel()); in SweepRootTables() 466 Runtime::ProcessWeakClass(&cache->classes_[j], visitor, nullptr); in SweepRootTables() 494 Runtime::Current()->GetClassLinker()->GetClassHierarchyAnalysis() in FreeAllMethodHeaders() [all …]
|
/art/runtime/ |
D | art_method-inl.h | 93 Runtime::Current()->GetClassLinker()->LookupResolvedType(type_idx, this); in LookupResolvedClassFromTypeIndex() 99 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this); in ResolveClassFromTypeIndex() 135 Runtime* runtime = Runtime::Current(); in IsCalleeSaveMethod() 147 bool result = this == Runtime::Current()->GetResolutionMethod(); in IsResolutionMethod() 154 bool result = this == Runtime::Current()->GetImtUnimplementedMethod(); in IsImtUnimplementedMethod() 222 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this); in ResolveNameString()
|
D | oat_file_manager.cc | 130 Runtime::Current()->GetHeap()->GetBootImageSpaces(); in GetBootOatFiles() 208 Runtime* const runtime = Runtime::Current(); in ShouldLoadAppImage() 226 Runtime* const runtime = Runtime::Current(); in OpenDexFilesFromOat() 406 Runtime::Current()->IsVerificationEnabled(), in OpenDexFilesFromOat() 416 if (Runtime::Current()->GetJit() != nullptr) { in OpenDexFilesFromOat() 417 Runtime::Current()->GetJit()->RegisterDexFiles(dex_files, class_loader); in OpenDexFilesFromOat() 522 /* verify= */ (vdex_file == nullptr) && Runtime::Current()->IsVerificationEnabled(), in OpenDexFilesFromOat_Impl() 661 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in Run() 742 Runtime* const runtime = Runtime::Current(); in RunBackgroundVerification() 784 DCHECK(!Runtime::Current()->IsShuttingDown(Thread::Current())) in WaitForWorkersToBeCreated()
|
D | runtime_android.cc | 40 void Runtime::InitPlatformSignalHandlers() { in InitPlatformSignalHandlers()
|
D | module_exclusion_test.cc | 54 Runtime* runtime = Runtime::Current(); in DoTest() 137 Runtime* runtime = Runtime::Current(); in TEST_F()
|
D | reference_table.cc | 74 DCHECK(!Runtime::Current()->GetClearedJniWeakGlobal()->IsArrayInstance()); in GetElementCount() 93 if (Runtime::Current()->IsClearedJniWeakGlobal(obj)) { in DumpSummaryLine() 140 Runtime* runtime = Runtime::Current(); in Dump() 171 Runtime* runtime = Runtime::Current(); in Dump()
|
/art/compiler/optimizing/ |
D | intrinsics.cc | 63 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetBootImageLiveObjects() 133 DCHECK(Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(boot_image_object)); in CheckIntegerCache() 166 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeIntegerValueOfLocations() 206 Runtime* runtime = Runtime::Current(); in ComputeIntegerValueOfLocations() 266 gc::Heap* heap = Runtime::Current()->GetHeap(); in CalculateBootImageOffset() 290 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeIntegerValueOfInfo() 369 CHECK(!art::Runtime::Current()->GetHeap()->IsMovableObject(string_class)); in AssertNonMovableStringClass()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 269 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute() 280 DCHECK(Runtime::Current()->AreNonStandardExitsEnabled()); in Execute() 299 DCHECK(Runtime::Current()->AreNonStandardExitsEnabled()); in Execute() 314 jit::Jit* jit = Runtime::Current()->GetJit(); in Execute() 344 bool transaction_active = Runtime::Current()->IsActiveTransaction(); in Execute() 353 } else if (UNLIKELY(!Runtime::Current()->IsStarted())) { in Execute() 422 bool implicit_check = !Runtime::Current()->ExplicitStackOverflowChecks(); in EnterInterpreterFromInvoke() 498 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in EnterInterpreterFromInvoke() 518 if (!Runtime::Current()->IsStarted()) { in EnterInterpreterFromInvoke() 559 frame_cnt == 0 ? nullptr : Runtime::Current()->GetInstrumentation(); in EnterInterpreterFromDeoptimize() [all …]
|
D | unstarted_runtime.cc | 77 if (Runtime::Current()->IsActiveTransaction()) { in AbortTransactionOrFail() 136 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UnstartedRuntimeFindClass() 293 if (Runtime::Current()->IsActiveTransaction()) { in UnstartedClassNewInstance() 306 auto* cl = Runtime::Current()->GetClassLinker(); in UnstartedClassNewInstance() 379 PointerSize pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in UnstartedClassGetDeclaredMethod() 402 PointerSize pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in UnstartedClassGetDeclaredConstructor() 530 Runtime* runtime = Runtime::Current(); in GetResourceAsStream() 532 const std::vector<std::string>& boot_class_path = Runtime::Current()->GetBootClassPath(); in GetResourceAsStream() 592 auto* cl = Runtime::Current()->GetClassLinker(); in GetResourceAsStream() 659 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, c, true, true)) { in UnstartedConstructorNewInstance0() [all …]
|
D | interpreter_common.cc | 61 bool implicit_check = !Runtime::Current()->ExplicitStackOverflowChecks(); in CheckStackOverflow() 71 Runtime* runtime = Runtime::Current(); in UseFastInterpreterToInterpreterInvoke() 224 CHECK(Runtime::Current()->IsActiveTransaction()); in AbortTransactionV() 229 Runtime::Current()->AbortTransactionAndThrowAbortError(self, abort_msg); in AbortTransactionV() 271 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in ArtInterpreterToCompiledCodeBridge() 294 jit::Jit* jit = Runtime::Current()->GetJit(); in ArtInterpreterToCompiledCodeBridge() 369 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DoMethodHandleInvokeCommon() 477 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in DoVarHandleInvokeCommon() 565 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DO_VAR_HANDLE_ACCESSOR() 599 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetClassForBootstrapArgument() [all …]
|
/art/test/674-hiddenapi/src-art/ |
D | Main.java | 133 Method libPathsMethod = Runtime.class.getDeclaredMethod("getLibPaths"); in prepareNativeLibFileName() 135 String[] libPaths = (String[]) libPathsMethod.invoke(Runtime.getRuntime()); in prepareNativeLibFileName() 166 Runtime.getRuntime().gc(); in doUnloading()
|
/art/test/036-finalizer/src/ |
D | Main.java | 89 Runtime.getRuntime().gc(); in main() 102 Runtime.getRuntime().gc(); in main() 153 Runtime.getRuntime().gc(); in runFinalizationTest()
|
/art/runtime/gc/space/ |
D | rosalloc_space_random_test.cc | 34 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|
D | rosalloc_space_static_test.cc | 33 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|
/art/test/080-oom-fragmentation/src/ |
D | Main.java | 20 long maxMem = Runtime.getRuntime().maxMemory(); in main()
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 60 Runtime* runtime = Runtime::Current(); in Array_createObjectArray()
|
/art/dex2oat/dex/ |
D | dex_to_dex_decompiler_test.cc | 46 down_cast<QuickCompilerCallbacks*>(Runtime::Current()->GetCompilerCallbacks())->SetVerifierDeps( in CompileAll() 69 Runtime::Current()->GetClassLinker()->RegisterDexFile( in RunTest()
|
/art/runtime/entrypoints/quick/ |
D | quick_thread_entrypoints.cc | 34 Runtime::Current()->GetJit()->EnqueueOptimizedCompilation(method, self); in artCompileOptimized()
|
/art/runtime/gc/ |
D | allocation_record.cc | 142 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled() 162 Runtime::Current()->GetInstrumentation()->InstrumentQuickAllocEntryPoints(); in SetAllocTrackingEnabled() 181 Runtime::Current()->GetInstrumentation()->UninstrumentQuickAllocEntryPoints(); in SetAllocTrackingEnabled() 214 Heap* const heap = Runtime::Current()->GetHeap(); in RecordAllocation()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 89 Runtime::Current()->GetHeap()->GetCardTable()->MarkCard(klass); in GetObjectArrayClass() 157 return new ModUnionTableCardCache(name.str(), Runtime::Current()->GetHeap(), space); in Create() 160 return new ModUnionTableRefCacheToSpace(name.str(), Runtime::Current()->GetHeap(), space, in Create() 181 Runtime* const runtime = Runtime::Current(); in RunTest()
|
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 36 Runtime* runtime = Runtime::Current(); in Java_Main_init() 82 Runtime::Current()->GetClassLinker()->AppendToBootClassPath(Thread::Current(), dex_file.get()); in Java_Main_appendToBootClassLoader() 93 Runtime::Current()->SetHiddenApiExemptions(exemptions); in Java_Main_setWhitelistAll() 324 std::set<uint64_t> disabled_changes = Runtime::Current()->GetDisabledCompatChanges(); in Java_Reflection_setHiddenApiCheckHardening() 332 Runtime::Current()->SetDisabledCompatChanges(disabled_changes); in Java_Reflection_setHiddenApiCheckHardening()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 294 return art::Runtime::Current()->GetHeap()->GetFreeMemory(); in JVM_FreeMemory() 298 return art::Runtime::Current()->GetHeap()->GetTotalMemory(); in JVM_TotalMemory() 302 return art::Runtime::Current()->GetHeap()->GetMaxMemory(); in JVM_MaxMemory() 306 if (art::Runtime::Current()->IsExplicitGcDisabled()) { in JVM_GC() 310 art::Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in JVM_GC() 315 art::Runtime::Current()->CallExitHook(status); in JVM_Exit() 332 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad() 419 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in JVM_SetNativeThreadName()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 78 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetResolvedMethod() 100 IsSdkVersionSetAndAtLeast(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kP); in GetResolvedMethod() 136 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc() 182 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in AllocObjectFromCode() 201 gc::Heap* heap = Runtime::Current()->GetHeap(); in AllocObjectFromCodeResolved() 239 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckArrayAlloc() 277 gc::Heap* heap = Runtime::Current()->GetHeap(); in AllocArrayFromCode() 320 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindFieldFromCode() 431 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodToCall() 566 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodFromCode() [all …]
|