/art/test/1002-notify-startup/src-art/ |
D | Main.java | 61 Runtime.getRuntime().gc(); in run()
|
/art/runtime/mirror/ |
D | array-inl.h | 75 if (Runtime::Current()->IsActiveTransaction()) { in Set() 96 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetWithoutChecks() 99 Runtime::Current()->RecordWriteArray(this, i, GetWithoutChecks(i)); in SetWithoutChecks() 302 DCHECK(!Runtime::Current()->IsActiveTransaction()); in Memcpy()
|
D | object.cc | 158 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone() 231 Runtime* runtime = Runtime::Current(); in CheckFieldAssignmentImpl()
|
/art/test/099-vmdebug/src/ |
D | Main.java | 179 Runtime.getRuntime().gc(); in testRuntimeStat() 205 Runtime.getRuntime().gc(); in testRuntimeStats() 238 Runtime.getRuntime().gc(); in testCountInstances() 274 Runtime.getRuntime().gc(); in testGetInstances()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 305 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in QuickArgumentVisitor() 698 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge() 723 if (!Runtime::Current()->IsAsyncDeoptimizeable(caller_pc)) { in artQuickToInterpreterBridge() 844 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in artQuickProxyInvokeHandler() 845 DCHECK(!Runtime::Current()->IsActiveTransaction()); in artQuickProxyInvokeHandler() 856 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickProxyInvokeHandler() 1036 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() 1047 jit::Jit* jit = Runtime::Current()->GetJit(); in artInstrumentationMethodEntryFromCode() 1108 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode() 1149 CHECK_EQ(*sp, Runtime::Current()->GetCalleeSaveMethod(type)); in DumpB74410240DebugData() [all …]
|
/art/runtime/ |
D | class_linker.cc | 232 Runtime* runtime = Runtime::Current(); in ChangeInterpreterBridgeToNterp() 251 Runtime* runtime = Runtime::Current(); in EnsureSkipAccessChecksMethods() 309 size_t count = Runtime::Current()->GetThreadList()->RunCheckpoint(this); in MakeVisible() 436 if (Runtime::Current()->IsActiveTransaction()) { in MarkClassInitialized() 465 Runtime* runtime = Runtime::Current(); in RegisterNative() 526 Runtime* const runtime = Runtime::Current(); in ThrowEarlierClassFailure() 587 if (klass->GetClassLoader() == nullptr && !Runtime::Current()->IsAotCompiler()) { in WrapExceptionInInitializer() 592 bool known_impossible = kIsDebugBuild && !Runtime::Current()->AreAsyncExceptionsThrown(); in WrapExceptionInInitializer() 710 cha_(Runtime::Current()->IsAotCompiler() ? nullptr : new ClassHierarchyAnalysis()) { in ClassLinker() 742 Runtime* const runtime = Runtime::Current(); in InitWithoutImage() [all …]
|
D | debug_print.cc | 38 gc::Heap* heap = Runtime::Current()->GetHeap(); in DescribeSpace() 80 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders()
|
D | runtime.h | 116 class Runtime { 245 static Runtime* Current() { in Current() 275 ~Runtime(); 461 return OFFSETOF_MEMBER(Runtime, callee_save_methods_[static_cast<size_t>(type)]); in GetCalleeSaveMethodOffset() 985 Runtime(); 1022 static Runtime* instance_; 1344 DISALLOW_COPY_AND_ASSIGN(Runtime);
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 213 Runtime::Current()->DisallowNewSystemWeaks(); in PausePhase() 346 Runtime* const runtime = Runtime::Current(); in ReclaimPhase() 612 auto* heap = Runtime::Current()->GetHeap(); in VisitRoot() 627 Runtime::Current()->GetThreadList()->VisitRootsForSuspendedThreads(&visitor); in VerifySuspendedThreadRoots() 634 Runtime::Current()->VisitRoots(this); in MarkRoots() 647 Runtime::Current()->VisitNonThreadRoots(this); in MarkNonThreadRoots() 653 Runtime::Current()->VisitConcurrentRoots(this, flags); in MarkConcurrentRoots() 874 if (heap_->GetThreadPool() == nullptr || !Runtime::Current()->InJankPerceptibleProcessState()) { in GetThreadCount() 1092 Runtime::Current()->VisitRoots(this, static_cast<VisitRootFlags>( in ReMarkRoots() 1097 Runtime::Current()->VisitRoots(&visitor); in ReMarkRoots() [all …]
|
D | semi_space.cc | 161 Runtime* runtime = Runtime::Current(); in MarkingPhase() 200 Runtime::Current()->BroadcastForNewSystemWeaks(); in MarkingPhase() 201 Runtime::Current()->GetClassLinker()->CleanupClassLoaders(); in MarkingPhase() 497 Runtime::Current()->VisitRoots(this); in MarkRoots() 502 Runtime::Current()->SweepSystemWeaks(this); in SweepSystemWeaks()
|
/art/runtime/gc/ |
D | reference_processor.cc | 300 if (LIKELY(Runtime::Current()->IsStarted())) { in CollectClearedReferences() 310 Runtime::Current()->GetHeap()->GetTaskProcessor()->AddTask( in CollectClearedReferences() 329 if (Runtime::Current()->IsActiveTransaction()) { in ClearReferent()
|
D | heap.cc | 169 return Runtime::Current()->InJankPerceptibleProcessState(); in CareAboutPauseTimes() 330 is_running_on_memory_tool_(Runtime::Current()->IsRunningOnMemoryTool()), in Heap() 375 Runtime* const runtime = Runtime::Current(); in Heap() 453 if (foreground_collector_type_ == kCollectorTypeMS && Runtime::Current()->IsAotCompiler()) { in Heap() 832 if (kCompactZygote && Runtime::Current()->IsZygote() && !can_move_objects) { in CreateMainMallocSpace() 858 Runtime::Current()->GetInstrumentation()->ResetQuickAllocEntryPoints(); in ChangeAllocator() 863 if (!Runtime::Current()->IsAotCompiler()) { in IsCompilingBoot() 1374 Runtime::Current()->GetPreAllocatedOutOfMemoryErrorWhenHandlingStackOverflow()); in ThrowOutOfMemoryError() 1437 Runtime* const runtime = Runtime::Current(); in Trim() 1481 size_t barrier_count = Runtime::Current()->GetThreadList()->RunCheckpoint(&closure); in TrimIndirectReferenceTables() [all …]
|
/art/openjdkjvmti/ |
D | ti_threadgroup.cc | 63 art::Runtime* runtime = art::Runtime::Current(); in GetTopThreadGroups() 177 for (art::Thread* t : art::Runtime::Current()->GetThreadList()->GetList()) { in GetThreads()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 148 const Runtime* const runtime = Runtime::Current(); in CanUseMterp() 457 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in MterpNewInstance() 460 obj = AllocObjectFromCode(c, self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); in MterpNewInstance() 524 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in MterpNewArray() 536 Runtime::Current()->GetInstrumentation(); in MterpHandleException() 553 DCHECK(!Runtime::Current()->IsActiveTransaction()); in MterpCheckBefore() 887 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpSetUpHotnessCountdown() 925 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpAddHotnessBatch() 949 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpMaybeDoOnStackReplacement()
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | UniqueProgramTrackerListener.java | 143 Runtime.getRuntime().exec(String.format("cp %1$s %1$s.old", databaseFile)); in saveUniqueProgsData() 173 Runtime.getRuntime().exec(String.format("rm %s.old", databaseFile)); in saveUniqueProgsData()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 56 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in artFindNativeMethodRunnable() 87 DCHECK(*sp == Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in artFindNativeMethodRunnable()
|
/art/test/466-get-live-vreg/ |
D | get_live_vreg_jni.cc | 66 !Runtime::Current()->IsJavaDebuggable()) { in CheckOptimizedOutRegLiveness()
|
/art/runtime/gc/space/ |
D | rosalloc_space.cc | 81 bool running_on_memory_tool = Runtime::Current()->IsRunningOnMemoryTool(); in CreateFromMemMap() 232 if (Runtime::Current()->IsRunningOnMemoryTool()) { in CreateInstance() 439 Runtime::Current()->IsRunningOnMemoryTool()); in Clear() 488 Heap* heap = Runtime::Current()->GetHeap(); in ArtRosAllocMoreCore()
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 94 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in MakeDexFileExecutable() 140 auto* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 236 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckCompiledMethods() 297 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckVerifiedClass()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 776 DCHECK(Runtime::Current()->IsAotCompiler() || method != nullptr); in TryCompile() 932 DCHECK(Runtime::Current()->IsAotCompiler()); in TryCompileIntrinsic() 1008 Runtime* runtime = Runtime::Current(); in Compile() 1136 Runtime* runtime = Runtime::Current(); in JniCompile() 1204 return Runtime::Current() == nullptr || !Runtime::Current()->IsAotCompiler(); in EncodeArtMethodInInlineInfo() 1233 Runtime* runtime = Runtime::Current(); in JitCompile() 1303 Runtime::Current()->GetJit()->AddMemoryUsage(method, allocator.BytesUsed()); in JitCompile() 1411 Runtime::Current()->GetJit()->AddMemoryUsage(method, allocator.BytesUsed()); in JitCompile()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 115 Runtime* runtime = Runtime::Current(); in CreateObjectArray() 222 ObjPtr<mirror::Object> result = Runtime::Current()->GetClassLinker()->FindClass( in PrepareForAborts() 405 Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in TEST_F() 943 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() 999 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() 1042 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() 1067 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() 1085 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in RunTest() 1100 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in RunTest() 1152 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetBootClassLoader() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 144 if (IsSdkVersionSetAndAtMost(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kM)) { in IsVisibilityCompatible() 361 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ProcessEncodedAnnotation() 476 element_object = Runtime::Current()->GetClassLinker()->ResolveString( in ProcessAnnotationValue() 492 element_object = Runtime::Current()->GetClassLinker()->ResolveType( in ProcessAnnotationValue() 516 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ProcessAnnotationValue() 548 ArtField* field = Runtime::Current()->GetClassLinker()->ResolveFieldJLS( in ProcessAnnotationValue() 569 ArtField* enum_field = Runtime::Current()->GetClassLinker()->ResolveField( in ProcessAnnotationValue() 578 Runtime::Current()->GetClassLinker()->EnsureInitialized(self, field_class, true, true); in ProcessAnnotationValue() 595 Runtime::Current()->GetHeap()->GetCurrentAllocator()))); in ProcessAnnotationValue() 710 PointerSize pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in CreateAnnotationMember() [all …]
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 59 jobject Install(Runtime* runtime, in Install() 187 bool ExecuteWithRuntime(Runtime* runtime) override { in ExecuteWithRuntime()
|
/art/test/129-ThreadGetId/src/ |
D | Main.java | 63 Runtime.getRuntime().gc(); in test_getStackTraces()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 51 Runtime::Current()->GetHeap()->GetBootImageSpaces(); in SetUp()
|