Home
last modified time | relevance | path

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

12345678910>>...14

/art/runtime/
Druntime-inl.h29 inline bool Runtime::IsClearedJniWeakGlobal(ObjPtr<mirror::Object> obj) { in IsClearedJniWeakGlobal()
33 inline mirror::Object* Runtime::GetClearedJniWeakGlobal() { in GetClearedJniWeakGlobal()
39 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo()
57 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod()
62 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod()
67 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod()
72 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod()
78 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked()
Druntime.cc179 Runtime* Runtime::instance_ = nullptr;
204 Runtime::Runtime() in Runtime() function in art::Runtime
267 static_assert(Runtime::kCalleeSaveSize == in Runtime()
279 Runtime::~Runtime() { in ~Runtime()
418 if (Runtime::Current() == nullptr) { in Dump()
458 Runtime* runtime = Runtime::Current(); in DumpAllThreads()
492 void Runtime::Abort(const char* msg) { in Abort()
535 if (Runtime::Current() != nullptr && Runtime::Current()->abort_ != nullptr) { in Abort()
537 Runtime::Current()->abort_(); in Abort()
558 void Runtime::PreZygoteFork() { in PreZygoteFork()
[all …]
Dart_field.cc35 if (kIsDebugBuild && Runtime::Current()->IsAotCompiler() && in SetOffset()
36 Runtime::Current()->IsCompilingBootImage()) { in SetOffset()
48 return Runtime::Current()->GetClassLinker()->FindSystemClass(Thread::Current(), descriptor); in ProxyFindSystemClass()
56 return Runtime::Current()->GetClassLinker()->ResolveString(dex_file, in ResolveGetStringName()
Dinstrumentation_test.cc187 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
197 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel()
202 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount()
214 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
259 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod()
275 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod()
290 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything()
305 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything()
320 Runtime* runtime = Runtime::Current(); in EnableMethodTracing()
332 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.cc139 Runtime* const runtime = Runtime::Current(); in CollectNonDebuggableClasses()
171 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures()
246 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork()
317 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; in ZygoteHooks_nativePostForkChild()
319 action = Runtime::NativeBridgeAction::kInitialize; in ZygoteHooks_nativePostForkChild()
321 Runtime::Current()->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild()
324 Runtime::Current()->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild()
325 env, is_system_server, Runtime::NativeBridgeAction::kUnload, nullptr); in ZygoteHooks_nativePostForkChild()
331 Runtime::Current()->SetZygoteNoThreadSection(true); in ZygoteHooks_startZygoteNoThreadCreation()
336 Runtime::Current()->SetZygoteNoThreadSection(false); in ZygoteHooks_stopZygoteNoThreadCreation()
Ddalvik_system_VMRuntime.cc67 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
71 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
92 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray()
119 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray()
145 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
153 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
157 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit()
165 return Runtime::Current()->IsNativeDebuggable(); in VMRuntime_isNativeDebuggable()
169 return toStringArray(env, Runtime::Current()->GetProperties()); in VMRuntime_properties()
182 return env->NewStringUTF(DefaultToDot(Runtime::Current()->GetBootClassPathString())); in VMRuntime_bootClassPath()
[all …]
/art/tools/cpp-define-generator/
Doffset_runtime.def21 #include "runtime.h" // art::Runtime
29 DEFINE_OFFSET_EXPR(Runtime, \
32 art::Runtime::GetCalleeSaveMethodOffset(constant_name))
35 // Offset of field Runtime::callee_save_methods_[kSaveAllCalleeSaves]
37 // Offset of field Runtime::callee_save_methods_[kSaveRefsOnly]
39 // Offset of field Runtime::callee_save_methods_[kSaveRefsAndArgs]
41 // Offset of field Runtime::callee_save_methods_[kSaveEverything]
/art/runtime/gc/
Dsystem_weak_test.cc110 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast()
122 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow()
134 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
145 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
159 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
166 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
179 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
190 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
202 Runtime::Current()->RemoveSystemWeakHolder(&cswh); in TEST_F()
205 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
Dheap_verification_test.cc39 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in AllocObjectArray()
49 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
77 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
91 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F()
100 Runtime* const runtime = Runtime::Current(); in TEST_F()
112 Runtime* const runtime = Runtime::Current(); in TEST_F()
132 Runtime* const runtime = Runtime::Current(); in TEST_F()
153 Runtime* const runtime = Runtime::Current(); in TEST_F()
Dheap_test.cc33 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
62 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
76 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F()
77 Runtime::Current()->SetDumpGCPerformanceOnShutdown(true); in TEST_F()
89 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
/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("doLoad", String.class, ClassLoader.class); in main()
52 Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader); in main()
/art/test/141-class-unload/
Djni_unload.cc29 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_IntHolder_waitForCompilation()
36 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_stopJit()
43 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_startJit()
/art/test/482-checker-loop-back-edge-use/src/
DMain.java64 while (Runtime.getRuntime() != null) {} in loop3()
78 while (Runtime.getRuntime() != null) {} in loop4()
139 while (Runtime.getRuntime() != null) { in loop7()
160 while (Runtime.getRuntime() != null) { in loop8()
/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/test/597-deopt-new-string/
Ddeopt.cc41 Runtime::Current()->GetInstrumentation()->EnableDeoptimization(); in Java_Main_deoptimizeAll()
44 Runtime::Current()->GetInstrumentation()->DeoptimizeEverything("test"); in Java_Main_deoptimizeAll()
57 Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything("test"); in Java_Main_undeoptimizeAll()
/art/runtime/mirror/
Dobject-inl.h426 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldBoolean()
429 Runtime::Current()->RecordWriteFieldBoolean(this, field_offset, in SetFieldBoolean()
444 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldByte()
447 Runtime::Current()->RecordWriteFieldByte(this, field_offset, in SetFieldByte()
499 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldChar()
502 Runtime::Current()->RecordWriteFieldChar(this, field_offset, in SetFieldChar()
516 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldShort()
519 Runtime::Current()->RecordWriteFieldChar(this, field_offset, in SetFieldShort()
545 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetField32()
548 Runtime::Current()->RecordWriteField32(this, field_offset, in SetField32()
[all …]
Ddex_cache-inl.h72 Runtime* const runtime = Runtime::Current(); in SetResolvedString()
82 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearString()
115 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedType()
119 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearResolvedType()
130 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in MethodTypeSlotIndex()
147 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedMethodType()
151 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in GetResolvedCallSite()
160 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in SetResolvedCallSite()
172 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedCallSite()
187 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField()
[all …]
/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/570-checker-osr/
Dosr.cc44 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in VisitFrame()
63 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_isInOsrCode()
79 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_isInInterpreter()
115 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasProfilingInfo()
136 jit::Jit* jit = Runtime::Current()->GetJit(); in VisitFrame()
155 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasOsrCode()
/art/test/905-object-free/src/art/
DTest905.java47 Runtime.getRuntime().gc(); in run()
59 Runtime.getRuntime().gc(); in run()
64 Runtime.getRuntime().gc(); in run()
83 Runtime.getRuntime().gc(); in stress()
/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/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()

12345678910>>...14