Home
last modified time | relevance | path

Searched refs:Runtime (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/art/runtime/
Druntime-inl.h35 inline bool Runtime::IsClearedJniWeakGlobal(ObjPtr<mirror::Object> obj) { in IsClearedJniWeakGlobal()
39 inline mirror::Object* Runtime::GetClearedJniWeakGlobal() { in GetClearedJniWeakGlobal()
45 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo()
66 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod()
71 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod()
76 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod()
81 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod()
87 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked()
93 void Runtime::DoAndMaybeSwitchInterpreter(Action lamda) { in DoAndMaybeSwitchInterpreter()
96 Runtime::Current()->GetThreadList()->ForEach([](Thread* thread, void*) { in DoAndMaybeSwitchInterpreter()
Daot_class_linker.cc39 Runtime* const runtime = Runtime::Current(); in InitializeClass()
80 Runtime* const runtime = Runtime::Current(); in PerformClassVerification()
Dinstrumentation_test.cc193 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
203 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel()
208 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount()
220 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
268 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod()
284 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod()
299 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything()
314 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything()
329 Runtime* runtime = Runtime::Current(); in EnableMethodTracing()
341 Runtime* runtime = Runtime::Current(); in DisableMethodTracing()
[all …]
/art/test/1337-gc-coverage/
Dgc_coverage.cc27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_Main_performHomogeneousSpaceCompact()
32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_Main_supportHomogeneousSpaceCompact()
37 Runtime::Current()->GetHeap()->IncrementDisableMovingGC(Thread::Current()); in Java_Main_incrementDisableMovingGC()
41 Runtime::Current()->GetHeap()->DecrementDisableMovingGC(Thread::Current()); in Java_Main_decrementDisableMovingGC()
51 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_Main_supportCollectorTransition()
56 Runtime::Current()->GetHeap()->TransitionCollector(gc::kCollectorTypeSS); in Java_Main_transitionToSS()
60 Runtime::Current()->GetHeap()->TransitionCollector(gc::kCollectorTypeCMS); in Java_Main_transitionToCMS()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc116 Runtime* const runtime = Runtime::Current(); in CollectNonDebuggableClasses()
160 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures()
196 Runtime::Current()->DoAndMaybeSwitchInterpreter([=]() { in EnableDebugFeatures()
242 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork()
252 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePostZygoteFork()
260 Runtime::Current()->SetSystemServer(true); in ZygoteHooks_nativePostForkSystemServer()
265 if (Runtime::Current()->GetJit() != nullptr) { in ZygoteHooks_nativePostForkSystemServer()
266 Runtime::Current()->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkSystemServer()
271 Runtime::Current()->GetOatFileManager().SetOnlyUseSystemOatFiles( in ZygoteHooks_nativePostForkSystemServer()
290 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePostForkChild()
[all …]
Ddalvik_system_VMRuntime.cc70 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
74 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
95 Runtime::Current()->SetHiddenApiExemptions(exemptions_vec); in VMRuntime_setHiddenApiExemptions()
99 Runtime::Current()->SetHiddenApiEventLogSampleRate(rate); in VMRuntime_setHiddenApiAccessLogSamplingRate()
114 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray()
141 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray()
167 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
175 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
179 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit()
187 return Runtime::Current()->IsNativeDebuggable(); in VMRuntime_isNativeDebuggable()
[all …]
/art/tools/cpp-define-generator/
Druntime.def22 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves))
24 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit))
26 … art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck))
28 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything))
30 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs))
32 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly))
/art/runtime/gc/
Dsystem_weak_test.cc111 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast()
125 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow()
137 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
148 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
162 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
169 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
182 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
193 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
205 Runtime::Current()->RemoveSystemWeakHolder(&cswh); in TEST_F()
208 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
Dheap_verification_test.cc50 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
78 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
97 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
106 Runtime* const runtime = Runtime::Current(); in TEST_F()
124 Runtime* const runtime = Runtime::Current(); in TEST_F()
150 Runtime* const runtime = Runtime::Current(); in TEST_F()
170 Runtime* const runtime = Runtime::Current(); in TEST_F()
Dheap_test.cc54 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
84 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
98 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
99 Runtime::Current()->SetDumpGCPerformanceOnShutdown(true); in TEST_F()
111 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
/art/test/570-checker-osr/
Dosr.cc57 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_isInOsrCode()
69 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in Java_Main_isInOsrCode()
80 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_isInInterpreter()
91 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in Java_Main_isInInterpreter()
103 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasProfilingInfo()
118 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasOsrCode()
126 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureHasOsrCode()
/art/test/079-phantom/src/
DMain.java43 Runtime.getRuntime().gc(); in run()
50 Runtime.getRuntime().gc(); in run()
59 Runtime.getRuntime().gc(); in run()
64 Runtime.getRuntime().gc(); in run()
69 Runtime.getRuntime().gc(); in run()
/art/test/150-loadlibrary/src/
DMain.java31 Method libPathsMethod = Runtime.class.getDeclaredMethod("getLibPaths"); in main()
33 String[] libPaths = (String[])libPathsMethod.invoke(Runtime.getRuntime()); in main()
50 Method m = Runtime.class.getDeclaredMethod("nativeLoad", String.class, ClassLoader.class); in main()
52 Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader); in main()
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc32 CHECK(Runtime::Current()->GetJit() != nullptr); in isNextJitGcFull()
33 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in isNextJitGcFull()
51 CHECK(Runtime::Current()->GetJit() != nullptr); in Java_Main_jitGc()
52 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in Java_Main_jitGc()
/art/test/common/
Druntime_state.cc45 Runtime* runtime = Runtime::Current(); in GetJitIfEnabled()
73 return Runtime::Current()->IsVerificationSoftFail() ? JNI_TRUE : JNI_FALSE; in Java_Main_runtimeIsSoftFail()
80 return Runtime::Current()->GetHeap()->HasBootImageSpace(); in Java_Main_hasImage()
87 return Runtime::Current()->IsImageDex2OatEnabled(); in Java_Main_isImageDex2OatEnabled()
160 Runtime::Current()->GetClassLinker()->ShouldUseInterpreterEntrypoint(method, actual_code); in Java_Main_isAotCompiled()
191 Runtime::Current()->GetInstrumentation()->GetCodeForInvoke(method)); in Java_Main_hasJitCompiledEntrypoint()
215 } else if (!Runtime::Current()->GetRuntimeCallbacks()->IsMethodSafeToJit(method)) { in ForceJitCompiled()
225 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled()
326 return Runtime::Current()->GetNumberOfDeoptimizations(); in Java_Main_numberOfDeoptimizations()
343 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_waitForCompilation()
[all …]
/art/runtime/jit/
Djit.cc201 !Runtime::Current()->GetInstrumentation()->AreExitStubsInstalled()); in Create()
211 jit->DumpTypeInfoForLoadedTypes(Runtime::Current()->GetClassLinker()); in Create()
250 DCHECK(Runtime::Current()->UseJitCompilation()); in CompileMethod()
253 RuntimeCallbacks* cb = Runtime::Current()->GetRuntimeCallbacks(); in CompileMethod()
263 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethod()
306 DCHECK(Runtime::Current()->IsShuttingDown(self)); in DeleteThreadPool()
353 Runtime::Current()->DumpDeoptimizations(LOG_STREAM(INFO)); in ~Jit()
367 if (!Runtime::Current()->UseJitCompilation()) { in NewTypeLoadedIfUsingJit()
371 jit::Jit* jit = Runtime::Current()->GetJit(); in NewTypeLoadedIfUsingJit()
412 Jit* jit = Runtime::Current()->GetJit(); in MaybeDoOnStackReplacement()
[all …]
/art/test/482-checker-loop-back-edge-use/src/
DMain.java66 while (Runtime.getRuntime() != null) {} in loop3()
80 while (Runtime.getRuntime() != null) {} in loop4()
142 while (Runtime.getRuntime() != null) { in loop7()
164 while (Runtime.getRuntime() != null) { in loop8()
/art/test/597-deopt-new-string/
Ddeopt.cc42 Runtime::Current()->GetInstrumentation()->EnableDeoptimization(); in Java_Main_deoptimizeAll()
45 Runtime::Current()->GetInstrumentation()->DeoptimizeEverything("test"); in Java_Main_deoptimizeAll()
58 Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything("test"); in Java_Main_undeoptimizeAll()
/art/runtime/mirror/
Dclass_ext.cc47 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetObsoleteArrays()
61 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in ExtendObsoleteArrays()
110 if (Runtime::Current()->IsActiveTransaction()) { in SetVerifyError()
118 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetOriginalDexFile()
123 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetPreRedefineClassDefIndex()
129 DCHECK(!Runtime::Current()->IsActiveTransaction()); in SetPreRedefineDexFile()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc39 ASSERT_EQ(InstructionSet::kX86_64, Runtime::Current()->GetInstructionSet()); in FinalizeSetup()
44 Runtime* r = Runtime::Current(); in CreateCalleeSaveMethod()
60 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckPCOffset()
/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/test/003-omnibus-opcodes/src/
DInternedString.java37 Runtime.getRuntime().gc(); in testDeadInternedString()
44 Runtime.getRuntime().gc(); in testImmortalInternedString()
56 Runtime.getRuntime().gc(); in testImmortalInternedString()
/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/openjdkjvmti/
Ddeopt_manager.cc74 return !art::Runtime::Current()->IsJavaDebuggable() || in IsMethodBeingInspected()
105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup()
113 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Shutdown()
161 art::Runtime::Current()->GetThreadList()->ForEach(func, &dtdc); in DumpDeoptInfo()
168 art::Runtime* runtime = art::Runtime::Current(); in FinishSetup()
262 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in AddMethodBreakpoint()
298 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in RemoveMethodBreakpoint()
347 art::Runtime::Current()->GetThreadList()->SuspendAll("JMVTI Deoptimizing methods", in ScopedDeoptimizationContext()
357 art::Runtime::Current()->GetThreadList()->ResumeAll(); in RELEASE()
392 art::Runtime::Current()->GetInstrumentation()->Deoptimize(method); in PerformLimitedDeoptimization()
[all …]
/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()

12345678910>>...14