Home
last modified time | relevance | path

Searched refs:Runtime (Results 26 – 50 of 386) sorted by relevance

12345678910>>...16

/art/test/908-gc-start-finish/src/art/
DTest908.java43 Runtime.getRuntime().gc(); in run()
54 Runtime.getRuntime().gc(); in run()
58 Runtime.getRuntime().gc(); in run()
/art/runtime/
Dinstrumentation_test.cc196 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 …]
Dsignal_catcher.cc118 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()
Dmethod_handles_test.cc52 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 …]
Dverify_object.cc31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
Dread_barrier-inl.h82 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()
Dcommon_runtime_test.cc116 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 …]
Daot_class_linker.cc37 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/
DMain.java17 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/
Dmonitor_inflation.cc27 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/
DTest913.java57 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/
Dprofile_saver_test.cc42 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/
Dclass_ext.cc49 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()
Dclass-alloc-inl.h52 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/
DMain.java22 Runtime.getRuntime().gc(); in main()
26 Runtime.getRuntime().gc(); in main()
/art/test/1903-suspend-self/src/art/
DTest1903.java38 Runtime.getRuntime().halt(2); in run()
83 Runtime.getRuntime().halt(4); in run()
87 Runtime.getRuntime().halt(2); in run()
/art/runtime/jni/
Djava_vm_ext_test.cc33 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/
DTest903.java33 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/
Dcha_unload.cc66 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/
Dcheck_deopt.cc28 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/
Djni_id.cc47 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/
DMain.java209 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/
Djni.cc31 Runtime* rt = Runtime::Current(); in Java_Main_isAotVerified()
/art/test/148-multithread-gc-annotations/
Dgc_coverage.cc27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_MovingGCThread_performHomogeneousSpaceCompact()
32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_MovingGCThread_supportHomogeneousSpaceCompact()
/art/tools/
Dart42 --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).

12345678910>>...16