Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_event.cc142 if (!Dbg::RequiresDeoptimization()) { in NeedsFullDeoptimization()
209 Dbg::WatchLocation(&pMod->locationOnly.loc, &req); in RegisterEvent()
215 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth); in RegisterEvent()
226 Dbg::RequestDeoptimization(req); in RegisterEvent()
233 Dbg::RequestDeoptimization(req); in RegisterEvent()
249 Dbg::ManageDeoptimization(); in RegisterEvent()
270 Dbg::GetObjectRegistry()->Get<art::mirror::Class*>(loc.class_id, &error)); in UnregisterLocationEventsOnClass()
325 Dbg::UnwatchLocation(&pMod->locationOnly.loc, &req); in UnregisterEvent()
330 Dbg::UnconfigureStep(pMod->step.threadId); in UnregisterEvent()
338 Dbg::RequestDeoptimization(req); in UnregisterEvent()
[all …]
Djdwp_handler.cc46 return StringPrintf("%#" PRIx64 " (%s)", field_id, Dbg::GetFieldName(field_id).c_str()); in DescribeField()
50 return StringPrintf("%#" PRIx64 " (%s)", method_id, Dbg::GetMethodName(method_id).c_str()); in DescribeMethod()
55 Dbg::GetSignature(ref_type_id, &signature); in DescribeRefTypeId()
62 JdwpError rc = Dbg::GetObjectTag(object_id, &tag); in WriteTaggedObject()
99 class_id, method_id, Dbg::GetClassName(class_id).c_str(), in RequestInvoke()
100 Dbg::GetMethodName(method_id).c_str()); in RequestInvoke()
107 size_t width = Dbg::GetTagWidth(argTypes[i]); in RequestInvoke()
118 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, in RequestInvoke()
158 Dbg::FindLoadedClassBySignature(classDescriptor.c_str(), &ids); in VM_ClassesBySignature()
166 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, nullptr); in VM_ClassesBySignature()
[all …]
Djdwp_main.cc507 Dbg::Connected(); in Run()
511 while (!Dbg::IsDisposed()) { in Run()
531 debug_thread_id_ = Dbg::GetThreadSelfId(); in Run()
547 Dbg::DdmDisconnected(); in Run()
557 Dbg::Disconnected(); in Run()
560 Dbg::UndoDebuggerSuspensions(); in Run()
579 Dbg::DdmConnected(); in NotifyDdmsActive()
614 if (!Dbg::IsDebuggerActive()) { in LastDebuggerActivity()
643 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc34 Dbg::SetAllocTrackingEnabled(enable); in DdmVmInternal_enableRecentAllocations()
39 return Dbg::GetRecentAllocations(); in DdmVmInternal_getRecentAllocations()
128 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
161 return Dbg::DdmHandleHpifChunk(static_cast<Dbg::HpifWhen>(when)); in DdmVmInternal_heapInfoNotify()
165 …return Dbg::DdmHandleHpsgNhsgChunk(static_cast<Dbg::HpsgWhen>(when), static_cast<Dbg::HpsgWhat>(wh… in DdmVmInternal_heapSegmentNotify()
169 Dbg::DdmSetThreadNotification(enable); in DdmVmInternal_threadNotify()
Dorg_apache_harmony_dalvik_ddmc_DdmServer.cc34 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset])); in DdmServer_nativeSendChunk()
Ddalvik_system_VMDebug.cc157 return Dbg::IsDebuggerActive(); in VMDebug_isDebuggerConnected()
161 return Dbg::IsJdwpConfigured(); in VMDebug_isDebuggingEnabled()
165 return Dbg::LastDebuggerActivity(); in VMDebug_lastDebuggerActivity()
518 if (!Dbg::IsJdwpAllowed()) { in VMDebug_attachAgent()
Ddalvik_system_ZygoteHooks.cc190 Dbg::SetJdwpAllowed((debug_flags & DEBUG_ENABLE_JDWP) != 0); in EnableDebugFeatures()
Ddalvik_system_VMRuntime.cc161 return Dbg::IsDebuggerActive(); in VMRuntime_isDebuggerActive()
/art/libart_fake/
Dfake.cc23 class Dbg { class
34 void Dbg::SuspendVM() { in SuspendVM()
38 void Dbg::ResumeVM() { in ResumeVM()
/art/runtime/
Ddebugger.cc165 Dbg::UpdateDebugger(thread, this_object.Get(), method, 0, Dbg::kMethodEntry, nullptr); in MethodEntered()
179 uint32_t events = Dbg::kMethodExit; in MethodExited()
183 events |= Dbg::kMethodEntry; in MethodExited()
186 Dbg::UpdateDebugger(thread, this_object.Get(), method, dex_pc, events, &return_value); in MethodExited()
215 events = Dbg::kMethodEntry; in DexPcMoved()
218 Dbg::UpdateDebugger(thread, this_object.Get(), method, new_dex_pc, events, nullptr); in DexPcMoved()
228 Dbg::PostFieldAccessEvent(method, dex_pc, this_object.Get(), field); in FieldRead()
238 Dbg::PostFieldModificationEvent(method, dex_pc, this_object.Get(), field, &field_value); in FieldWritten()
244 Dbg::PostException(exception_object.Get()); in ExceptionCaught()
283 return (Dbg::GetInstrumentationEvents() & event) != 0; in IsListeningTo()
[all …]
Dthread_list.cc1120 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendAllForDebugger()
1153 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendSelfForDebugger()
1161 const bool skip_thread_suspension = (pReq != nullptr && !Dbg::IsDebuggerActive()); in SuspendSelfForDebugger()
1182 Dbg::FinishInvokeMethod(pReq); in SuspendSelfForDebugger()
1190 Dbg::ClearWaitForEventThread(); in SuspendSelfForDebugger()
1217 Thread* debug_thread = Dbg::GetDebugThread(); in ResumeAllForDebugger()
Druntime.cc352 Dbg::StopJdwp(); in ~Runtime()
859 Dbg::StartJdwp(); in InitNonZygoteOrPostFork()
1204 Dbg::ConfigureJdwp(runtime_options.GetOrDefault(Opt::JdwpOptions)); in Init()
1206 callbacks_->AddThreadLifecycleCallback(Dbg::GetThreadLifecycleCallback()); in Init()
1207 callbacks_->AddClassLoadCallback(Dbg::GetClassLoadCallback()); in Init()
1856 Dbg::VisitRoots(visitor); in VisitConcurrentRoots()
Ddebugger.h204 class Dbg {
824 DISALLOW_COPY_AND_ASSIGN(Dbg);
Dinstrumentation.cc136 return Dbg::IsDebuggerActive() && in NeedDebugVersionFor()
1204 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); in PopInstrumentationStackFrame()
Dthread.cc1005 Dbg::DdmSendThreadNotification(this, CHUNK_TYPE("THNM")); in SetThreadName()
3083 if (Dbg::IsForcedInterpreterNeededForException(this)) { in QuickDeliverException()
3595 CHECK(Dbg::IsDebuggerActive()); in ActivateSingleStepControl()
3602 CHECK(Dbg::IsDebuggerActive()); in DeactivateSingleStepControl()
3610 CHECK(Dbg::IsDebuggerActive()); in SetDebugInvokeReq()
Dart_method.cc333 if (UNLIKELY(!runtime->IsStarted() || Dbg::IsForcedInterpreterNeededForCalling(self, this))) { in Invoke()
Dtrace.cc725 Dbg::DdmSendChunkV(CHUNK_TYPE("MPSE"), iov, 2); in FinishTracing()
Dthread.h1692 friend class Dbg; // For SetStateUnsafe. variable
Dclass_linker.cc3086 if (Dbg::IsForcedInterpreterNeededForCalling(Thread::Current(), method)) { in ShouldUseInterpreterEntrypoint()
/art/runtime/jit/
Djit.cc277 if (Dbg::IsDebuggerActive() && Dbg::MethodHasAnyBreakpoints(method)) { in CompileMethod()
497 if (Dbg::IsDebuggerActive()) { in MaybeDoOnStackReplacement()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc818 Dbg::IsForcedInterpreterNeededForUpcall(self, caller))) { in artQuickToInterpreterBridge()
1261 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForResolution(self, called))) { in artQuickResolutionTrampoline()
1266 } else if (UNLIKELY(Dbg::IsForcedInstrumentationNeededForResolution(self, caller))) { in artQuickResolutionTrampoline()
1280 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForResolution(self, called))) { in artQuickResolutionTrampoline()
/art/runtime/openjdkjvmti/
Dti_redefine.cc1212 DCHECK(art::Dbg::IsDebuggerActive()); in UnregisterBreakpoints()
1213 art::JDWP::JdwpState* state = art::Dbg::GetJdwpState(); in UnregisterBreakpoints()
1220 if (LIKELY(!art::Dbg::IsDebuggerActive())) { in UnregisterAllBreakpoints()
/art/runtime/interpreter/mterp/
Dmterp.cc150 return instrumentation->NonJitProfilingActive() || Dbg::IsDebuggerActive(); in MterpShouldSwitchInterpreters()
/art/runtime/hprof/
Dhprof.cc814 JDWP::JdwpState* state = Dbg::GetJdwpState(); in DumpToDdmsDirect()
/art/runtime/gc/
Dheap.cc2618 Dbg::GcDidFinish(); in CollectGarbageInternal()