/art/runtime/ |
D | runtime-inl.h | 29 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() 59 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod() 64 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod() 69 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod() 74 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod() 80 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked()
|
D | runtime.cc | 187 Runtime* Runtime::instance_ = nullptr; 212 Runtime::Runtime() in Runtime() function in art::Runtime 281 static_assert(Runtime::kCalleeSaveSize == in Runtime() 293 Runtime::~Runtime() { in ~Runtime() 453 if (Runtime::Current() == nullptr) { in Dump() 493 Runtime* runtime = Runtime::Current(); in DumpAllThreads() 527 void Runtime::Abort(const char* msg) { in Abort() 570 if (Runtime::Current() != nullptr && Runtime::Current()->abort_ != nullptr) { in Abort() 572 Runtime::Current()->abort_(); in Abort() 593 void Runtime::PreZygoteFork() { in PreZygoteFork() [all …]
|
D | instrumentation_test.cc | 205 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 215 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel() 220 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount() 232 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 280 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() 296 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() 311 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() 326 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() 341 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() 353 Runtime* runtime = Runtime::Current(); in DisableMethodTracing() [all …]
|
D | aot_class_linker.cc | 36 Runtime* const runtime = Runtime::Current(); in InitializeClass() 77 Runtime* const runtime = Runtime::Current(); in PerformClassVerification()
|
D | art_field.cc | 36 if (kIsDebugBuild && Runtime::Current()->IsAotCompiler() && in SetOffset() 37 Runtime::Current()->IsCompilingBootImage()) { in SetOffset() 49 ObjPtr<mirror::Class> klass = Runtime::Current()->GetClassLinker()->LookupClass( in ProxyFindSystemClass() 59 return Runtime::Current()->GetClassLinker()->ResolveString(string_idx, hs.NewHandle(dex_cache)); in ResolveGetStringName()
|
/art/test/1337-gc-coverage/ |
D | gc_coverage.cc | 27 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/ |
D | dalvik_system_ZygoteHooks.cc | 146 Runtime* const runtime = Runtime::Current(); in CollectNonDebuggableClasses() 188 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures() 268 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork() 299 Runtime::Current()->DisableVerifier(); in ZygoteHooks_nativePostForkChild() 304 Runtime::Current()->GetOatFileManager().SetOnlyUseSystemOatFiles(); in ZygoteHooks_nativePostForkChild() 367 Runtime::Current()->SetHiddenApiEnforcementPolicy(api_enforcement_policy); in ZygoteHooks_nativePostForkChild() 368 Runtime::Current()->SetDedupeHiddenApiWarnings(dedupe_hidden_api_warnings); in ZygoteHooks_nativePostForkChild() 370 Runtime::Current()->GetHiddenApiEventLogSampleRate() != 0) { in ZygoteHooks_nativePostForkChild() 378 Runtime::Current()->SetPendingHiddenApiWarning(false); in ZygoteHooks_nativePostForkChild() 390 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; in ZygoteHooks_nativePostForkChild() [all …]
|
D | dalvik_system_VMRuntime.cc | 64 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization() 68 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization() 78 return Runtime::Current()->HasPendingHiddenApiWarning() ? JNI_TRUE : JNI_FALSE; in VMRuntime_hasUsedHiddenApi() 93 Runtime::Current()->SetHiddenApiExemptions(exemptions_vec); in VMRuntime_setHiddenApiExemptions() 97 Runtime::Current()->SetHiddenApiEventLogSampleRate(rate); in VMRuntime_setHiddenApiAccessLogSamplingRate() 112 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray() 139 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray() 165 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf() 173 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit() 177 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit() [all …]
|
/art/tools/cpp-define-generator/ |
D | offset_runtime.def | 21 #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] 43 // Offset of field Runtime::callee_save_methods_[kSaveEverythingForClinit] 45 // Offset of field Runtime::callee_save_methods_[kSaveEverythingForSuspendCheck]
|
/art/runtime/gc/ |
D | system_weak_test.cc | 110 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(/* clear_soft_references */ false); in TEST_F() 159 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F() 166 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 179 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F() 190 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 202 Runtime::Current()->RemoveSystemWeakHolder(&cswh); in TEST_F() 205 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F()
|
D | heap_verification_test.cc | 39 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()
|
D | heap_test.cc | 52 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() 81 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 95 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 96 Runtime::Current()->SetDumpGCPerformanceOnShutdown(true); in TEST_F() 108 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
|
/art/openjdkjvmti/ |
D | deopt_manager.cc | 66 return !art::Runtime::Current()->IsJavaDebuggable() || in IsMethodBeingInspected() 97 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup() 105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Shutdown() 113 art::Runtime* runtime = art::Runtime::Current(); in FinishSetup() 204 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in AddMethodBreakpoint() 240 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in RemoveMethodBreakpoint() 282 art::Runtime::Current()->GetThreadList()->SuspendAll("JMVTI Deoptimizing methods", in ScopedDeoptimizationContext() 293 art::Runtime::Current()->GetThreadList()->ResumeAll(); in RELEASE() 327 art::Runtime::Current()->GetInstrumentation()->Deoptimize(method); in PerformLimitedDeoptimization() 332 art::Runtime::Current()->GetInstrumentation()->Undeoptimize(method); in PerformLimitedUndeoptimization() [all …]
|
/art/test/079-phantom/src/ |
D | Main.java | 43 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/ |
D | Main.java | 31 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/runtime/mirror/ |
D | object-inl.h | 420 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldBoolean() 423 Runtime::Current()->RecordWriteFieldBoolean(this, field_offset, in SetFieldBoolean() 438 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldByte() 441 Runtime::Current()->RecordWriteFieldByte(this, field_offset, in SetFieldByte() 493 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldChar() 496 Runtime::Current()->RecordWriteFieldChar(this, field_offset, in SetFieldChar() 510 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldShort() 513 Runtime::Current()->RecordWriteFieldChar(this, field_offset, in SetFieldShort() 539 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetField32() 542 Runtime::Current()->RecordWriteField32(this, field_offset, in SetField32() [all …]
|
D | dex_cache-inl.h | 73 Runtime* const runtime = Runtime::Current(); in SetResolvedString() 83 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearString() 116 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedType() 120 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearResolvedType() 131 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in MethodTypeSlotIndex() 148 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedMethodType() 152 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in GetResolvedCallSite() 161 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in SetResolvedCallSite() 173 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); in SetResolvedCallSite() 188 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField() [all …]
|
/art/test/667-jit-jni-stub/ |
D | jit_jni_stub_test.cc | 32 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/482-checker-loop-back-edge-use/src/ |
D | Main.java | 64 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/common/ |
D | runtime_state.cc | 43 Runtime* runtime = Runtime::Current(); in GetJitIfEnabled() 71 return Runtime::Current()->IsVerificationSoftFail() ? JNI_TRUE : JNI_FALSE; in Java_Main_runtimeIsSoftFail() 78 return Runtime::Current()->IsDex2OatEnabled(); in Java_Main_isDex2OatEnabled() 85 return Runtime::Current()->GetHeap()->HasBootImageSpace(); in Java_Main_hasImage() 92 return Runtime::Current()->IsImageDex2OatEnabled(); in Java_Main_isImageDex2OatEnabled() 161 Runtime::Current()->GetClassLinker()->ShouldUseInterpreterEntrypoint(method, actual_code); in Java_Main_isAotCompiled() 275 return Runtime::Current()->GetNumberOfDeoptimizations(); in Java_Main_numberOfDeoptimizations() 294 Runtime* runtime = Runtime::Current(); in Java_Main_isClassMoveable() 301 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_waitForCompilation() 308 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_stopJit() [all …]
|
/art/test/004-NativeAllocations/src-art/ |
D | Main.java | 17 import java.lang.Runtime; 49 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() 84 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() 114 Runtime.getRuntime().gc(); in main()
|
/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/test/597-deopt-new-string/ |
D | deopt.cc | 42 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/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/test/003-omnibus-opcodes/src/ |
D | InternedString.java | 37 Runtime.getRuntime().gc(); in testDeadInternedString() 44 Runtime.getRuntime().gc(); in testImmortalInternedString() 56 Runtime.getRuntime().gc(); in testImmortalInternedString()
|