Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_event.cc139 if (!Dbg::RequiresDeoptimization()) { in NeedsFullDeoptimization()
206 Dbg::WatchLocation(&pMod->locationOnly.loc, &req); in RegisterEvent()
212 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth); in RegisterEvent()
223 Dbg::RequestDeoptimization(req); in RegisterEvent()
230 Dbg::RequestDeoptimization(req); in RegisterEvent()
246 Dbg::ManageDeoptimization(); in RegisterEvent()
285 Dbg::UnwatchLocation(&pMod->locationOnly.loc, &req); in UnregisterEvent()
290 Dbg::UnconfigureStep(pMod->step.threadId); in UnregisterEvent()
298 Dbg::RequestDeoptimization(req); in UnregisterEvent()
305 Dbg::RequestDeoptimization(req); in UnregisterEvent()
[all …]
Djdwp_handler.cc43 return StringPrintf("%#" PRIx64 " (%s)", field_id, Dbg::GetFieldName(field_id).c_str()); in DescribeField()
47 return StringPrintf("%#" PRIx64 " (%s)", method_id, Dbg::GetMethodName(method_id).c_str()); in DescribeMethod()
52 Dbg::GetSignature(ref_type_id, &signature); in DescribeRefTypeId()
59 JdwpError rc = Dbg::GetObjectTag(object_id, &tag); in WriteTaggedObject()
96 class_id, method_id, Dbg::GetClassName(class_id).c_str(), in RequestInvoke()
97 Dbg::GetMethodName(method_id).c_str()); in RequestInvoke()
104 size_t width = Dbg::GetTagWidth(argTypes[i]); in RequestInvoke()
115 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, in RequestInvoke()
155 Dbg::FindLoadedClassBySignature(classDescriptor.c_str(), &ids); in VM_ClassesBySignature()
163 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, nullptr); in VM_ClassesBySignature()
[all …]
Djdwp_main.cc500 Dbg::Connected(); in Run()
504 while (!Dbg::IsDisposed()) { in Run()
524 debug_thread_id_ = Dbg::GetThreadSelfId(); in Run()
540 Dbg::DdmDisconnected(); in Run()
550 Dbg::Disconnected(); in Run()
553 Dbg::UndoDebuggerSuspensions(); in Run()
572 Dbg::DdmConnected(); in NotifyDdmsActive()
607 if (!Dbg::IsDebuggerActive()) { in LastDebuggerActivity()
636 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc32 Dbg::SetAllocTrackingEnabled(enable); in DdmVmInternal_enableRecentAllocations()
37 return Dbg::GetRecentAllocations(); in DdmVmInternal_getRecentAllocations()
123 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
156 return Dbg::DdmHandleHpifChunk(static_cast<Dbg::HpifWhen>(when)); in DdmVmInternal_heapInfoNotify()
160 …return Dbg::DdmHandleHpsgNhsgChunk(static_cast<Dbg::HpsgWhen>(when), static_cast<Dbg::HpsgWhat>(wh… in DdmVmInternal_heapSegmentNotify()
164 Dbg::DdmSetThreadNotification(enable); in DdmVmInternal_threadNotify()
Dorg_apache_harmony_dalvik_ddmc_DdmServer.cc32 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset])); in DdmServer_nativeSendChunk()
Ddalvik_system_VMDebug.cc147 return Dbg::IsDebuggerActive(); in VMDebug_isDebuggerConnected()
151 return Dbg::IsJdwpConfigured(); in VMDebug_isDebuggingEnabled()
155 return Dbg::LastDebuggerActivity(); in VMDebug_lastDebuggerActivity()
Ddalvik_system_ZygoteHooks.cc101 Dbg::SetJdwpAllowed((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0); in EnableDebugFeatures()
Ddalvik_system_VMRuntime.cc145 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.cc164 Dbg::UpdateDebugger(thread, this_object, method, 0, Dbg::kMethodEntry, nullptr); in MethodEntered()
175 uint32_t events = Dbg::kMethodExit; in MethodExited()
179 events |= Dbg::kMethodEntry; in MethodExited()
182 Dbg::UpdateDebugger(thread, this_object, method, dex_pc, events, &return_value); in MethodExited()
207 events = Dbg::kMethodEntry; in DexPcMoved()
210 Dbg::UpdateDebugger(thread, this_object, method, new_dex_pc, events, nullptr); in DexPcMoved()
217 Dbg::PostFieldAccessEvent(method, dex_pc, this_object, field); in FieldRead()
224 Dbg::PostFieldModificationEvent(method, dex_pc, this_object, field, &field_value); in FieldWritten()
229 Dbg::PostException(exception_object); in ExceptionCaught()
268 return (Dbg::GetInstrumentationEvents() & event) != 0; in IsListeningTo()
[all …]
Dthread_list.cc938 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendAllForDebugger()
971 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendSelfForDebugger()
979 const bool skip_thread_suspension = (pReq != nullptr && !Dbg::IsDebuggerActive()); in SuspendSelfForDebugger()
999 Dbg::FinishInvokeMethod(pReq); in SuspendSelfForDebugger()
1007 Dbg::ClearWaitForEventThread(); in SuspendSelfForDebugger()
1034 Thread* debug_thread = Dbg::GetDebugThread(); in ResumeAllForDebugger()
Druntime.cc286 Dbg::StopJdwp(); in ~Runtime()
741 Dbg::StartJdwp(); in InitNonZygoteOrPostFork()
1025 Dbg::ConfigureJdwp(runtime_options.GetOrDefault(Opt::JdwpOptions)); in Init()
1394 if (Dbg::IsDebuggerActive()) { in DumpForSigQuit()
1578 Dbg::VisitRoots(visitor); in VisitConcurrentRoots()
Dthread.cc449 Dbg::PostThreadStart(self); in CreateCallback()
802 Dbg::PostThreadStart(self); in Attach()
884 Dbg::DdmSendThreadNotification(this, CHUNK_TYPE("THNM")); in SetThreadName()
1727 Dbg::PostThreadDeath(self); in Destroy()
2596 is_deoptimization = Dbg::IsForcedInterpreterNeededForException(this); in QuickDeliverException()
2966 CHECK(Dbg::IsDebuggerActive()); in ActivateSingleStepControl()
2973 CHECK(Dbg::IsDebuggerActive()); in DeactivateSingleStepControl()
2981 CHECK(Dbg::IsDebuggerActive()); in SetDebugInvokeReq()
Ddebugger.h201 class Dbg {
790 DISALLOW_COPY_AND_ASSIGN(Dbg);
Dart_method.cc258 if (UNLIKELY(!runtime->IsStarted() || Dbg::IsForcedInterpreterNeededForCalling(self, this))) { in Invoke()
Dinstrumentation.cc110 return Dbg::IsDebuggerActive() && in NeedDebugVersionForBootImageCode()
1090 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); in PopInstrumentationStackFrame()
Dthread.h1521 friend class Dbg; // For SetStateUnsafe. variable
Dtrace.cc739 Dbg::DdmSendChunkV(CHUNK_TYPE("MPSE"), iov, 2); in FinishTracing()
Dclass_linker.cc2562 Dbg::PostClassPrepare(h_new_class.Get()); in DefineClass()
2768 if (Dbg::IsForcedInterpreterNeededForCalling(Thread::Current(), method)) { in ShouldUseInterpreterEntrypoint()
2782 if (Dbg::IsDebuggerActive()) { in ShouldUseInterpreterEntrypoint()
/art/runtime/jit/
Djit.cc248 if (Dbg::IsDebuggerActive() && Dbg::MethodHasAnyBreakpoints(method)) { in CompileMethod()
450 if (Dbg::IsDebuggerActive()) { in MaybeDoOnStackReplacement()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc758 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForUpcall(self, caller))) { in artQuickToInterpreterBridge()
1101 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForResolution(self, called))) { in artQuickResolutionTrampoline()
1106 } else if (UNLIKELY(Dbg::IsForcedInstrumentationNeededForResolution(self, caller))) { in artQuickResolutionTrampoline()
1120 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForResolution(self, called))) { in artQuickResolutionTrampoline()
/art/runtime/interpreter/mterp/
Dmterp.cc149 return instrumentation->NonJitProfilingActive() || Dbg::IsDebuggerActive(); in MterpShouldSwitchInterpreters()
/art/runtime/hprof/
Dhprof.cc790 JDWP::JdwpState* state = Dbg::GetJdwpState(); in DumpToDdmsDirect()
/art/runtime/gc/
Dheap.cc2730 Dbg::GcDidFinish(); in CollectGarbageInternal()