Home
last modified time | relevance | path

Searched refs:GetInstrumentation (Results 1 – 25 of 45) sorted by relevance

12

/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/runtime/entrypoints/quick/
Dquick_thread_entrypoints.cc26 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artDeoptimizeIfNeeded()
48 Runtime::Current()->GetInstrumentation()->DeoptimizeIfNeeded( in artTestSuspendFromCode()
62 Runtime::Current()->GetInstrumentation()->DeoptimizeIfNeeded( in artImplicitSuspendFromCode()
Dquick_trampoline_entrypoints.cc751 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickToInterpreterBridge()
880 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickProxyInvokeHandler()
1303 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artQuickResolutionTrampoline()
2019 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickGenericJniTrampoline()
2448 Runtime::Current()->GetInstrumentation()->PushDeoptContextIfNeeded( in artInvokePolymorphic()
2507 Runtime::Current()->GetInstrumentation()->PushDeoptContextIfNeeded( in artInvokeCustom()
2515 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artJniMethodEntryHook()
2522 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artMethodEntryHook()
2554 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artMethodExitHook()
/art/openjdkjvmti/
Ddeopt_manager.cc199 runtime->GetInstrumentation()->UpdateEntrypointsForDebuggable(); in FinishSetup()
254 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in AddMethodBreakpoint()
290 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in RemoveMethodBreakpoint()
395 runtime->GetInstrumentation()->DisableDeoptimization(kInstrumentationKey, in Shutdown()
397 runtime->GetInstrumentation()->DisableDeoptimization(kDeoptManagerInstrumentationKey, in Shutdown()
413 art::Runtime::Current()->GetInstrumentation()->Deoptimize(method); in PerformLimitedDeoptimization()
418 art::Runtime::Current()->GetInstrumentation()->Undeoptimize(method); in PerformLimitedUndeoptimization()
423 art::Runtime::Current()->GetInstrumentation()->DeoptimizeEverything( in PerformGlobalDeoptimization()
429 art::Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything( in PerformGlobalUndeoptimization()
483 art::Runtime::Current()->GetInstrumentation()->DisableDeoptimization( in RemoveDeoptimizationRequester()
[all …]
Dart_jvmti.h77 return runtime->GetInstrumentation()->IsForcedInterpretOnly() || in IsFullJvmtiAvailable()
/art/test/597-deopt-new-string/
Ddeopt.cc39 Runtime::Current()->GetInstrumentation()->DeoptimizeEverything("test"); in Java_Main_deoptimizeAll()
52 Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything("test"); in Java_Main_undeoptimizeAll()
/art/runtime/
Dinstrumentation_test.cc192 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
202 return Runtime::Current()->GetInstrumentation()->GetCurrentInstrumentationLevel(); in GetCurrentInstrumentationLevel()
207 return Runtime::Current()->GetInstrumentation()->requested_instrumentation_levels_.size(); in GetInstrumentationUserCount()
219 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
268 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
281 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
296 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
308 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
323 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
336 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing()
[all …]
Dcommon_dex_operations.h128 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon()
189 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon()
Ddebugger.h72 Runtime::Current()->GetInstrumentation()->IsDeoptimizedMethodsEmpty())) { in IsForcedInterpreterNeededForException()
Dquick_exception_handler.cc182 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in FindCatch()
450 bool supports_exit_events = Runtime::Current()->GetInstrumentation()->MethodSupportsExitEvents( in VisitFrame()
474 Runtime::Current()->GetInstrumentation()->MethodUnwindEvent( in VisitFrame()
748 runtime->GetInstrumentation()->InitializeMethodsCode( in DeoptimizeSingleFrame()
Dinstrumentation.cc265 const Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in UpdateEntryPoints()
322 DCHECK(!Runtime::Current()->GetInstrumentation()->InterpretOnly(method)); in GetOptimizedCodeFor()
524 Runtime::Current()->GetInstrumentation()->NeedsDexPcEvents(GetMethod(), GetThread())); in InstrumentationInstallStack()
580 Runtime::Current()->GetInstrumentation()->NeedsDexPcEvents(GetMethod(), GetThread())); in UpdateNeedsDexPcEventsOnStack()
610 if (Runtime::Current()->GetInstrumentation()->MethodSupportsExitEvents(m, method_header)) { in ReportMethodEntryForOnStackMethods()
Dtrace.cc848 runtime->GetInstrumentation()->UpdateEntrypointsForDebuggable(); in Start()
855 runtime->GetInstrumentation()->AddListener( in Start()
861 runtime->GetInstrumentation()->EnableMethodTracing(kTracerInstrumentationKey, in Start()
916 runtime->GetInstrumentation()->RemoveListener( in StopTracing()
922 runtime->GetInstrumentation()->DisableMethodTracing(kTracerInstrumentationKey); in StopTracing()
968 runtime->GetInstrumentation()->RemoveListener( in RemoveListeners()
Druntime.cc1713 GetInstrumentation()->ForceInterpretOnly(); in Init()
2503 GetInstrumentation()->InstrumentQuickAllocEntryPointsLocked(); in SetStatsEnabled()
2506 GetInstrumentation()->UninstrumentQuickAllocEntryPointsLocked(); in SetStatsEnabled()
2953 if (GetInstrumentation()->InterpretOnly()) { in AddCurrentRuntimeFeaturesAsDex2OatArguments()
2978 if (kIsDebugBuild && GetInstrumentation()->IsForcedInterpretOnly()) { in CreateJit()
3248 DeoptimizeBootImageClassVisitor visitor(GetInstrumentation()); in DeoptimizeBootImage()
Ddebugger.cc156 if (Runtime::Current()->GetInstrumentation()->InterpretOnly()) { in IsForcedInterpreterNeededForExceptionImpl()
162 if (Runtime::Current()->GetInstrumentation()->IsDeoptimized(method)) { in IsForcedInterpreterNeededForExceptionImpl()
/art/test/common/
Druntime_state.cc58 && runtime->GetInstrumentation()->GetCurrentInstrumentationLevel() != in GetJitIfEnabled()
181 const void* actual_code = Runtime::Current()->GetInstrumentation()->GetCodeForInvoke(method); in Java_Main_isAotCompiled()
212 Runtime::Current()->GetInstrumentation()->GetCodeForInvoke(method)); in Java_Main_hasJitCompiledEntrypoint()
235 if (Runtime::Current()->GetInstrumentation()->EntryExitStubsInstalled() && in ForceJitCompiled()
242 if (Runtime::Current()->GetInstrumentation()->IsDeoptimized(method)) { in ForceJitCompiled()
459 Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(method, /*aot_code=*/ nullptr); in Java_Main_deoptimizeNativeMethod()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc88 Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(other, in Java_Main_waitAndInstrumentStack()
/art/tools/tracefast-plugin/
Dtracefast.cc129 runtime->GetInstrumentation()->AddListener(&gEmptyTracer, in StartTracing()
133 runtime->GetInstrumentation()->EnableMethodTracing( in StartTracing()
/art/runtime/gc/
Dallocation_record.cc178 Runtime::Current()->GetInstrumentation()->InstrumentQuickAllocEntryPoints(); in SetAllocTrackingEnabled()
197 Runtime::Current()->GetInstrumentation()->UninstrumentQuickAllocEntryPoints(); in SetAllocTrackingEnabled()
/art/runtime/interpreter/
Dinterpreter_switch_impl0.cc91 Runtime::Current()->GetInstrumentation()->HasDexPcListeners()); in NeedsDexPcEvents()
Dinterpreter_switch_impl1.cc160 DCHECK(!Runtime::Current()->GetInstrumentation()->HasDexPcListeners()); in NeedsDexPcEvents()
Dinterpreter.cc265 Runtime::Current()->GetInstrumentation()->NeedsDexPcEvents(shadow_frame.GetMethod(), self)); in Execute()
300 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute()
/art/runtime/jit/
Djit.cc146 Runtime::Current()->GetInstrumentation()->UpdateMethodsCode(method_to_compile, pattern); in TryPatternMatch()
182 if (Runtime::Current()->GetInstrumentation()->IsDeoptimized(method)) { in CompileMethodInternal()
199 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethodInternal()
473 if (Runtime::Current()->GetInstrumentation()->NeedsSlowInterpreterForMethod(thread, method) || in MaybeDoOnStackReplacement()
1703 Runtime::Current()->GetInstrumentation()->UpdateMethodsCode(method, entry_point); in MaybeEnqueueCompilation()
Djit_code_cache.cc128 instrumentation::Instrumentation* instrum = Runtime::Current()->GetInstrumentation(); in UpdateEntryPoints()
773 Runtime::Current()->GetInstrumentation()->UpdateMethodsCode( in Commit()
816 Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(method, /*aot_code=*/ nullptr); in RemoveMethod()
1675 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in InvalidateAllCompiledCode()
1723 Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(method, /*aot_code=*/ nullptr); in InvalidateCompiledCodeFor()
/art/compiler/
Dcommon_compiler_test.cc302 GetRuntime()->GetInstrumentation()->InitializeMethodsCode(method, /*aot_code=*/ method_code); in CompileMethod()
/art/compiler/jni/quick/
Djni_compiler.cc232 uint64_t address = reinterpret_cast64<uint64_t>(Runtime::Current()->GetInstrumentation()); in ArtJniCompileMethodInternal()
576 uint64_t address = reinterpret_cast64<uint64_t>(Runtime::Current()->GetInstrumentation()); in ArtJniCompileMethodInternal()

12