/art/runtime/ |
D | runtime-inl.h | 28 inline bool Runtime::IsClearedJniWeakGlobal(mirror::Object* obj) { in IsClearedJniWeakGlobal() 32 inline mirror::Object* Runtime::GetClearedJniWeakGlobal() { in GetClearedJniWeakGlobal() 38 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo() 44 if (method == GetCalleeSaveMethodUnchecked(Runtime::kRefsAndArgs)) { in GetRuntimeMethodFrameInfo() 45 return GetCalleeSaveMethodFrameInfo(Runtime::kRefsAndArgs); in GetRuntimeMethodFrameInfo() 46 } else if (method == GetCalleeSaveMethodUnchecked(Runtime::kSaveAll)) { in GetRuntimeMethodFrameInfo() 47 return GetCalleeSaveMethodFrameInfo(Runtime::kSaveAll); in GetRuntimeMethodFrameInfo() 49 DCHECK_EQ(method, GetCalleeSaveMethodUnchecked(Runtime::kRefsOnly)); in GetRuntimeMethodFrameInfo() 50 return GetCalleeSaveMethodFrameInfo(Runtime::kRefsOnly); in GetRuntimeMethodFrameInfo() 54 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod() [all …]
|
D | runtime.cc | 150 Runtime* Runtime::instance_ = nullptr; 159 Runtime::Runtime() in Runtime() function in art::Runtime 225 Runtime::~Runtime() { in ~Runtime() 336 if (Runtime::Current() == nullptr) { in Dump() 371 Runtime* runtime = Runtime::Current(); in DumpAllThreads() 390 void Runtime::Abort() { in Abort() 406 if (Runtime::Current() != nullptr && Runtime::Current()->abort_ != nullptr) { in Abort() 408 Runtime::Current()->abort_(); in Abort() 429 void Runtime::PreZygoteFork() { in PreZygoteFork() 433 void Runtime::CallExitHook(jint status) { in CallExitHook() [all …]
|
D | art_field.cc | 39 if (kIsDebugBuild && Runtime::Current()->IsAotCompiler() && in SetOffset() 40 Runtime::Current()->IsCompilingBootImage()) { in SetOffset() 52 return Runtime::Current()->GetClassLinker()->FindSystemClass(Thread::Current(), descriptor); in ProxyFindSystemClass() 56 return Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this); in ResolveGetType() 62 return Runtime::Current()->GetClassLinker()->ResolveString( in ResolveGetStringName()
|
D | instrumentation_test.cc | 154 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 164 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel() 169 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount() 174 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 208 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() 224 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() 239 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() 254 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() 269 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() 281 Runtime* runtime = Runtime::Current(); in DisableMethodTracing() [all …]
|
D | signal_catcher.cc | 129 Runtime* runtime = Runtime::Current(); in HandleSigQuit() 158 Runtime::Current()->GetHeap()->CollectGarbage(false); in HandleSigUsr1() 175 Runtime::Current()->DumpLockHolders(LOG(INFO)); in WaitForSignal() 185 Runtime* runtime = Runtime::Current(); in Run()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints_test.cc | 38 ASSERT_EQ(InstructionSet::kX86_64, Runtime::Current()->GetInstructionSet()); in FinalizeSetup() 41 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, Runtime::CalleeSaveType type) in CreateCalleeSaveMethod() 43 Runtime* r = Runtime::Current(); in CreateCalleeSaveMethod() 56 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) in CheckFrameSize() 59 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckFrameSize() 65 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset) in CheckPCOffset() 68 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckPCOffset() 84 CheckFrameSize(isa, Runtime::kRefsAndArgs, GetCalleeSaveFrameSize(isa, Runtime::kRefsAndArgs)); \ in TEST_F() 85 CheckFrameSize(isa, Runtime::kRefsOnly, GetCalleeSaveFrameSize(isa, Runtime::kRefsOnly)); \ in TEST_F() 86 CheckFrameSize(isa, Runtime::kSaveAll, GetCalleeSaveFrameSize(isa, Runtime::kSaveAll)) in TEST_F() [all …]
|
D | quick_dexcache_entrypoints.cc | 34 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeStaticStorageFromCode() 42 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeTypeFromCode() 51 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeTypeAndVerifyAccessFromCode() 58 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artResolveStringFromCode()
|
D | quick_instrumentation_entrypoints.cc | 35 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() 41 DCHECK(!Runtime::Current()->GetClassLinker()->IsQuickToInterpreterBridge(result)); in artInstrumentationMethodEntryFromCode() 58 size_t return_pc_offset = GetCalleeSaveReturnPcOffset(kRuntimeISA, Runtime::kRefsOnly); in artInstrumentationMethodExitFromCode() 67 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode()
|
/art/runtime/arch/ |
D | arch_test.cc | 40 ASSERT_EQ(InstructionSet::kX86_64, Runtime::Current()->GetInstructionSet()); in FinalizeSetup() 43 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) in CheckFrameSize() 45 Runtime* const runtime = Runtime::Current(); in CheckFrameSize() 126 CheckFrameSize(InstructionSet::kArm, Runtime::kSaveAll, arm::kFrameSizeSaveAllCalleeSave); in TEST_F() 127 CheckFrameSize(InstructionSet::kArm, Runtime::kRefsOnly, arm::kFrameSizeRefsOnlyCalleeSave); in TEST_F() 128 CheckFrameSize(InstructionSet::kArm, Runtime::kRefsAndArgs, arm::kFrameSizeRefsAndArgsCalleeSave); in TEST_F() 133 CheckFrameSize(InstructionSet::kArm64, Runtime::kSaveAll, arm64::kFrameSizeSaveAllCalleeSave); in TEST_F() 134 CheckFrameSize(InstructionSet::kArm64, Runtime::kRefsOnly, arm64::kFrameSizeRefsOnlyCalleeSave); in TEST_F() 135 CheckFrameSize(InstructionSet::kArm64, Runtime::kRefsAndArgs, in TEST_F() 140 CheckFrameSize(InstructionSet::kMips, Runtime::kSaveAll, mips::kFrameSizeSaveAllCalleeSave); in TEST_F() [all …]
|
/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/arch/arm64/ |
D | quick_method_frame_info_arm64.h | 59 constexpr uint32_t Arm64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in Arm64CalleeSaveCoreSpills() 61 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | in Arm64CalleeSaveCoreSpills() 62 (type == Runtime::kSaveAll ? kArm64CalleeSaveAllSpills : 0); in Arm64CalleeSaveCoreSpills() 65 constexpr uint32_t Arm64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in Arm64CalleeSaveFpSpills() 67 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveFpArgSpills: 0) | in Arm64CalleeSaveFpSpills() 68 (type == Runtime::kSaveAll ? kArm64CalleeSaveFpAllSpills : 0); in Arm64CalleeSaveFpSpills() 71 constexpr uint32_t Arm64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in Arm64CalleeSaveFrameSize() 77 constexpr QuickMethodFrameInfo Arm64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in Arm64CalleeSaveMethodFrameInfo() 83 constexpr size_t Arm64CalleeSaveFpr1Offset(Runtime::CalleeSaveType type) { in Arm64CalleeSaveFpr1Offset() 89 constexpr size_t Arm64CalleeSaveGpr1Offset(Runtime::CalleeSaveType type) { in Arm64CalleeSaveGpr1Offset() [all …]
|
/art/runtime/arch/arm/ |
D | quick_method_frame_info_arm.h | 51 constexpr uint32_t ArmCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in ArmCalleeSaveCoreSpills() 53 (type == Runtime::kRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | in ArmCalleeSaveCoreSpills() 54 (type == Runtime::kSaveAll ? kArmCalleeSaveAllSpills : 0); in ArmCalleeSaveCoreSpills() 57 constexpr uint32_t ArmCalleeSaveFpSpills(Runtime::CalleeSaveType type) { in ArmCalleeSaveFpSpills() 59 (type == Runtime::kRefsAndArgs ? kArmCalleeSaveFpArgSpills: 0) | in ArmCalleeSaveFpSpills() 60 (type == Runtime::kSaveAll ? kArmCalleeSaveFpAllSpills : 0); in ArmCalleeSaveFpSpills() 63 constexpr uint32_t ArmCalleeSaveFrameSize(Runtime::CalleeSaveType type) { in ArmCalleeSaveFrameSize() 69 constexpr QuickMethodFrameInfo ArmCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in ArmCalleeSaveMethodFrameInfo() 75 constexpr size_t ArmCalleeSaveFpr1Offset(Runtime::CalleeSaveType type) { in ArmCalleeSaveFpr1Offset() 81 constexpr size_t ArmCalleeSaveGpr1Offset(Runtime::CalleeSaveType type) { in ArmCalleeSaveGpr1Offset() [all …]
|
/art/runtime/arch/mips/ |
D | quick_method_frame_info_mips.h | 47 constexpr uint32_t MipsCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in MipsCalleeSaveCoreSpills() 49 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | in MipsCalleeSaveCoreSpills() 50 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllSpills : 0); in MipsCalleeSaveCoreSpills() 53 constexpr uint32_t MipsCalleeSaveFPSpills(Runtime::CalleeSaveType type) { in MipsCalleeSaveFPSpills() 55 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveFpArgSpills : 0) | in MipsCalleeSaveFPSpills() 56 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllFPSpills : 0); in MipsCalleeSaveFPSpills() 59 constexpr uint32_t MipsCalleeSaveFrameSize(Runtime::CalleeSaveType type) { in MipsCalleeSaveFrameSize() 65 constexpr QuickMethodFrameInfo MipsCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in MipsCalleeSaveMethodFrameInfo()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 82 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures() 144 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork() 210 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; in ZygoteHooks_nativePostForkChild() 212 action = Runtime::NativeBridgeAction::kInitialize; in ZygoteHooks_nativePostForkChild() 214 Runtime::Current()->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild() 217 Runtime::Current()->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild() 218 env, is_system_server, Runtime::NativeBridgeAction::kUnload, nullptr); in ZygoteHooks_nativePostForkChild() 224 Runtime::Current()->SetZygoteNoThreadSection(true); in ZygoteHooks_startZygoteNoThreadCreation() 229 Runtime::Current()->SetZygoteNoThreadSection(false); in ZygoteHooks_stopZygoteNoThreadCreation()
|
D | dalvik_system_VMRuntime.cc | 56 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization() 60 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization() 81 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray() 106 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray() 129 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf() 137 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit() 141 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit() 149 return Runtime::Current()->IsNativeDebuggable(); in VMRuntime_isNativeDebuggable() 153 return toStringArray(env, Runtime::Current()->GetProperties()); in VMRuntime_properties() 166 return env->NewStringUTF(DefaultToDot(Runtime::Current()->GetBootClassPathString())); in VMRuntime_bootClassPath() [all …]
|
/art/runtime/arch/x86/ |
D | quick_method_frame_info_x86.h | 47 constexpr uint32_t X86CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in X86CalleeSaveCoreSpills() 48 return kX86CalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | in X86CalleeSaveCoreSpills() 52 constexpr uint32_t X86CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in X86CalleeSaveFpSpills() 53 return type == Runtime::kRefsAndArgs ? kX86CalleeSaveFpArgSpills : 0; in X86CalleeSaveFpSpills() 56 constexpr uint32_t X86CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in X86CalleeSaveFrameSize() 62 constexpr QuickMethodFrameInfo X86CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in X86CalleeSaveMethodFrameInfo()
|
/art/runtime/arch/mips64/ |
D | quick_method_frame_info_mips64.h | 50 constexpr uint32_t Mips64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in Mips64CalleeSaveCoreSpills() 52 (type == Runtime::kRefsAndArgs ? kMips64CalleeSaveArgSpills : 0) | in Mips64CalleeSaveCoreSpills() 53 (type == Runtime::kSaveAll ? kMips64CalleeSaveAllSpills : 0) | (1 << art::mips64::RA); in Mips64CalleeSaveCoreSpills() 56 constexpr uint32_t Mips64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in Mips64CalleeSaveFpSpills() 58 (type == Runtime::kRefsAndArgs ? kMips64CalleeSaveFpArgSpills: 0) | in Mips64CalleeSaveFpSpills() 59 (type == Runtime::kSaveAll ? kMips64CalleeSaveFpAllSpills : 0); in Mips64CalleeSaveFpSpills() 62 constexpr uint32_t Mips64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in Mips64CalleeSaveFrameSize() 68 constexpr QuickMethodFrameInfo Mips64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in Mips64CalleeSaveMethodFrameInfo()
|
/art/runtime/arch/x86_64/ |
D | quick_method_frame_info_x86_64.h | 42 constexpr uint32_t X86_64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in X86_64CalleeSaveCoreSpills() 44 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | in X86_64CalleeSaveCoreSpills() 48 constexpr uint32_t X86_64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in X86_64CalleeSaveFpSpills() 50 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0); in X86_64CalleeSaveFpSpills() 53 constexpr uint32_t X86_64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in X86_64CalleeSaveFrameSize() 59 constexpr QuickMethodFrameInfo X86_64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in X86_64CalleeSaveMethodFrameInfo()
|
/art/test/079-phantom/src/ |
D | Main.java | 41 Runtime.getRuntime().gc(); in run() 48 Runtime.getRuntime().gc(); in run() 53 Runtime.getRuntime().gc(); in run() 58 Runtime.getRuntime().gc(); in run() 63 Runtime.getRuntime().gc(); in run()
|
/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() 137 while (Runtime.getRuntime() != null) { in loop7() 158 while (Runtime.getRuntime() != null) { in loop8() 179 while (Runtime.getRuntime() != null) { in loop9()
|
/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("doLoad", String.class, ClassLoader.class); in main() 52 Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader); in main()
|
/art/test/597-deopt-new-string/ |
D | deopt.cc | 40 Runtime::Current()->GetInstrumentation()->EnableDeoptimization(); in Java_Main_deoptimizeAll() 43 Runtime::Current()->GetInstrumentation()->DeoptimizeEverything("test"); in Java_Main_deoptimizeAll() 56 Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything("test"); in Java_Main_undeoptimizeAll()
|
/art/test/570-checker-osr/ |
D | osr.cc | 43 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in VisitFrame() 62 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_isInOsrCode() 78 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_isInInterpreter() 114 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasProfilingInfo() 135 jit::Jit* jit = Runtime::Current()->GetJit(); in VisitFrame() 154 if (!Runtime::Current()->UseJitCompilation()) { in Java_Main_ensureHasOsrCode()
|
/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()
|
/art/test/141-class-unload/src/ |
D | Main.java | 61 Runtime.getRuntime().gc(); in testOatFilesUnloaded() 76 Runtime.getRuntime().gc(); in stressTest() 84 Runtime.getRuntime().gc(); in testUnloadClass() 86 Runtime.getRuntime().gc(); in testUnloadClass() 96 Runtime.getRuntime().gc(); in testUnloadLoader() 106 Runtime.getRuntime().gc(); in testStackTrace() 114 Runtime.getRuntime().gc(); in testLoadAndUnloadLibrary() 135 Runtime.getRuntime().gc(); in testNoUnloadInstance()
|