/art/test/908-gc-start-finish/src/art/ |
D | Test908.java | 43 Runtime.getRuntime().gc(); in run() 54 Runtime.getRuntime().gc(); in run() 58 Runtime.getRuntime().gc(); in run()
|
/art/runtime/ |
D | instrumentation_test.cc | 196 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 206 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel() 211 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount() 223 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 271 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() 287 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() 302 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() 317 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() 332 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() 344 Runtime* runtime = Runtime::Current(); in DisableMethodTracing() [all …]
|
D | signal_catcher.cc | 118 Runtime* runtime = Runtime::Current(); in HandleSigQuit() 147 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in HandleSigUsr1() 165 Runtime::Current()->DumpLockHolders(LOG_STREAM(INFO)); in WaitForSignal() 175 Runtime* runtime = Runtime::Current(); in Run()
|
D | method_handles_test.cc | 52 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in CreateVoidMethodType() 82 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 94 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 107 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 119 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 133 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 147 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 161 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 179 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() 196 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() [all …]
|
D | verify_object.cc | 31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl() 42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
|
D | read_barrier-inl.h | 82 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() 133 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 174 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 209 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarked(ref)); in IsMarked() 213 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup() 236 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 247 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 253 return Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->MarkFromReadBarrier(obj); in Mark()
|
D | common_runtime_test.cc | 116 if (!Runtime::Create(options, false)) { in SetUp() 121 runtime_.reset(Runtime::Current()); in SetUp() 238 jobject class_loader = Runtime::Current()->GetClassLinker()->CreatePathClassLoader(self, in LoadMultiDex() 267 jobject result = Runtime::Current()->GetClassLinker()->CreateWellKnownClassLoader( in LoadDexInWellKnownClassLoader() 291 CHECK(Runtime::Current()->GetClassLinker()->IsBootClassLoader(soa, actual_parent)); in LoadDexInWellKnownClassLoader() 334 Runtime::Current()->GetHeap()->SetIdealFootprint(1 * GB); in FillHeap() 355 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() 396 Runtime* runtime = Runtime::Current(); in StartDex2OatCommandLine() 431 Runtime* const runtime = Runtime::Current(); in CompileBootImage() 528 CHECK(!Runtime::Current()->IsActiveTransaction()); in EnterTransactionMode() [all …]
|
D | aot_class_linker.cc | 37 if (Runtime::Current()->IsActiveTransaction()) { in CanAllocClass() 38 Runtime::Current()->AbortTransactionAndThrowAbortError( in CanAllocClass() 50 Runtime* const runtime = Runtime::Current(); in InitializeClass() 110 Runtime* const runtime = Runtime::Current(); in PerformClassVerification() 187 PointerSize pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in CanReferenceInBootImageExtension()
|
/art/test/004-NativeAllocations/src-art/ |
D | Main.java | 17 import java.lang.Runtime; 50 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() 87 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() 117 Runtime.getRuntime().gc(); in main()
|
/art/test/596-monitor-inflation/ |
D | monitor_inflation.cc | 27 Runtime::Current()->GetHeap()->Trim(Thread::Current()); in Java_Main_trim() 31 return Runtime::Current()->GetMonitorList()->Size(); in Java_Main_monitorListSize()
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 57 Runtime.getRuntime().gc(); in runFollowReferences() 58 Runtime.getRuntime().gc(); in runFollowReferences() 62 Runtime.getRuntime().gc(); in runFollowReferences() 63 Runtime.getRuntime().gc(); in runFollowReferences() 67 Runtime.getRuntime().gc(); in runFollowReferences() 68 Runtime.getRuntime().gc(); in runFollowReferences() 72 Runtime.getRuntime().gc(); in runFollowReferences() 73 Runtime.getRuntime().gc(); in runFollowReferences() 78 Runtime.getRuntime().gc(); in runFollowReferences() 79 Runtime.getRuntime().gc(); in runFollowReferences() [all …]
|
/art/runtime/jit/ |
D | profile_saver_test.cc | 42 Runtime* runtime = Runtime::Current(); in PostRuntimeCreate() 90 Runtime::Current()->SetProcessPackageName("test.package"); in TEST_F() 96 Hotness::Flag expected_flag = Is64BitInstructionSet(Runtime::Current()->GetInstructionSet()) in TEST_F()
|
/art/runtime/mirror/ |
D | class_ext.cc | 49 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetObsoleteArrays() 69 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in ExtendObsoleteArrays() 122 if (Runtime::Current()->IsActiveTransaction()) { in SetVerifyError() 130 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetOriginalDexFile() 135 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetPreRedefineClassDefIndex() 141 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetPreRedefineDexFile()
|
D | class-alloc-inl.h | 52 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc() 78 return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); in AllocObject() 82 return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator()); in AllocNonMovableObject()
|
/art/test/121-simple-suspend-check/src/ |
D | Main.java | 22 Runtime.getRuntime().gc(); in main() 26 Runtime.getRuntime().gc(); in main()
|
/art/test/1903-suspend-self/src/art/ |
D | Test1903.java | 38 Runtime.getRuntime().halt(2); in run() 83 Runtime.getRuntime().halt(4); in run() 87 Runtime.getRuntime().halt(2); in run()
|
/art/runtime/jni/ |
D | java_vm_ext_test.cc | 33 vm_ = Runtime::Current()->GetJavaVM(); in SetUp() 147 ASSERT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 159 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 165 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 172 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 178 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F()
|
/art/test/903-hello-tagging/src/art/ |
D | Test903.java | 33 Runtime.getRuntime().gc(); in doTest() 34 Runtime.getRuntime().gc(); in doTest() 57 Runtime.getRuntime().gc(); in test() 58 Runtime.getRuntime().gc(); in test() 63 Runtime.getRuntime().gc(); in test() 64 Runtime.getRuntime().gc(); in test()
|
/art/test/616-cha-unloading/ |
D | cha_unload.cc | 66 if (Runtime::Current()->GetLinearAlloc()->Contains(ptr)) { in Java_Main_reuseArenaOfMethod() 72 Runtime::Current()->GetClassLinker()->VisitAllocators(&visitor); in Java_Main_reuseArenaOfMethod() 80 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); in Java_Main_reuseArenaOfMethod()
|
/art/test/1947-breakpoint-redefine-deopt/ |
D | check_deopt.cc | 28 return Runtime::Current()->GetInstrumentation()->IsDeoptimized(art_method); in Java_Main_isMethodDeoptimized() 32 return Runtime::Current()->GetInstrumentation()->IsForcedInterpretOnly(); in Java_Main_isInterpretOnly()
|
/art/test/1972-jni-id-swap-indices/ |
D | jni_id.cc | 47 oss << Runtime::Current()->GetJniIdType(); in Java_Main_GetJniType() 53 Runtime::Current()->SetJniIdType(JniIdType::kPointer); in Java_Main_SetToPointerIds() 57 Runtime::Current()->SetJniIdType(JniIdType::kIndices); in Java_Main_SetToIndexIds()
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 209 Runtime.getRuntime().gc(); in forceGCStaticMethod() 210 Runtime.getRuntime().gc(); in forceGCStaticMethod() 211 Runtime.getRuntime().gc(); in forceGCStaticMethod() 212 Runtime.getRuntime().gc(); in forceGCStaticMethod() 213 Runtime.getRuntime().gc(); in forceGCStaticMethod() 214 Runtime.getRuntime().gc(); in forceGCStaticMethod()
|
/art/test/800-smali/ |
D | jni.cc | 31 Runtime* rt = Runtime::Current(); in Java_Main_isAotVerified()
|
/art/test/148-multithread-gc-annotations/ |
D | gc_coverage.cc | 27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_MovingGCThread_performHomogeneousSpaceCompact() 32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_MovingGCThread_supportHomogeneousSpaceCompact()
|
/art/tools/ |
D | art | 42 --32 Use the 32-bit Android Runtime. 43 --64 Use the 64-bit Android Runtime. 46 --gdb Launch the Android Runtime in gdb. 47 --gdbserver <comms> Launch the Android Runtime in gdbserver using the 50 --invoke-with <program> Launch the Android Runtime in <program>. 51 --perf Launch the Android Runtime with perf recording. 52 --perf-report Launch the Android Runtime with perf recording with 501 Android Runtime not found: $ART_BINARY_PATH 502 This script should be in the same directory as the Android Runtime ($ART_BINARY).
|