Searched defs:event (Results 1 - 7 of 7) sorted by relevance

/art/runtime/openjdkjvmti/
H A Devents-inl.h42 // Infrastructure to achieve type safety for event dispatch.
114 // ClassFileLoadHook event types is the same, so use this helper for code deduplication.
128 kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable, "Unsupported event");
216 // ClassFileLoadHook event types is the same, and in the DispatchClassFileLoadHookEvent helper.
279 inline void EventHandler::RecalculateGlobalEventMask(ArtJvmtiEvent event) { argument
285 union_value |= stored_env->event_masks.global_event_mask.Test(event);
286 union_value |= stored_env->event_masks.unioned_thread_event_mask.Test(event);
291 global_mask.Set(event, union_value);
297 ArtJvmtiEvent event = added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable local
300 IsEventEnabledAnywhere(event)
[all...]
H A Devents.cc51 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { argument
52 return global_event_mask.Test(event) || unioned_thread_event_mask.Test(event);
91 void EventMasks::EnableEvent(art::Thread* thread, ArtJvmtiEvent event) { argument
92 DCHECK(EventMask::EventIsInRange(event));
93 GetEventMask(thread).Set(event);
95 unioned_thread_event_mask.Set(event, true);
99 void EventMasks::DisableEvent(art::Thread* thread, ArtJvmtiEvent event) { argument
100 DCHECK(EventMask::EventIsInRange(event));
101 GetEventMask(thread).Set(event, fals
168 IsThreadControllable(ArtJvmtiEvent event) argument
277 SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) argument
298 HandleEventType(ArtJvmtiEvent event, bool enable) argument
315 HasAssociatedCapability(ArtJvmTiEnv* env, ArtJvmtiEvent event) argument
372 SetEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event, jvmtiEventMode mode) argument
[all...]
H A Devents.h89 static bool EventIsInRange(ArtJvmtiEvent event) { argument
90 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal;
93 void Set(ArtJvmtiEvent event, bool value = true) { argument
94 DCHECK(EventIsInRange(event));
95 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
99 bool Test(ArtJvmtiEvent event) const {
100 DCHECK(EventIsInRange(event));
102 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal));
125 void EnableEvent(art::Thread* thread, ArtJvmtiEvent event);
[all...]
/art/runtime/
H A Druntime_callbacks_test.cc213 // Detach is not a ThreadDeath event, so we expect to be in state Started.
261 std::string event = local
264 data.push_back(event);
269 std::string event = std::string("Load:") + klass->GetDescriptor(&tmp); local
270 data.push_back(event);
276 std::string event = std::string("Prepare:") + klass->GetDescriptor(&tmp) local
278 data.push_back(event);
H A Dtrace.cc254 // If there's no previous stack trace sample for this thread, log an entry event for all
745 // We're not recorded to listen to this kind of event, so complain.
746 LOG(ERROR) << "Unexpected dex PC event in tracing " << ArtMethod::PrettyMethod(method)
756 // We're not recorded to listen to this kind of event, so complain.
757 LOG(ERROR) << "Unexpected field read event in tracing " << ArtMethod::PrettyMethod(method)
768 // We're not recorded to listen to this kind of event, so complain.
769 LOG(ERROR) << "Unexpected field write event in tracing " << ArtMethod::PrettyMethod(method)
804 LOG(ERROR) << "Unexpected exception caught event in tracing";
810 LOG(ERROR) << "Unexpected branch event in tracing" << ArtMethod::PrettyMethod(method);
818 LOG(ERROR) << "Unexpected invoke event i
905 LogMethodTraceEvent(Thread* thread, ArtMethod* method, instrumentation::Instrumentation::InstrumentationEvent event, uint32_t thread_clock_diff, uint32_t wall_clock_diff) argument
[all...]
H A Ddebugger.cc160 // We also listen to kDexPcMoved instrumentation event so we know the DexPcMoved method is
162 // we report the event in DexPcMoved. However, we must remind this is method entry so we
163 // send the METHOD_ENTRY event. And we can also group it with other events for this location
167 // We also listen to kMethodExited instrumentation event and the current instruction is a
169 // sending JDWP events twice for this location, we report the event(s) in MethodExited.
170 // However, we must remind this is method entry so we send the METHOD_ENTRY event. And we can
198 // We're not recorded to listen to this kind of event, so complain.
199 LOG(ERROR) << "Unexpected method unwind event in debugger " << ArtMethod::PrettyMethod(method)
207 // We also listen to kMethodExited instrumentation event and the current instruction is a
209 // MethodEntered, we delegate event reportin
4350 jint event = connect ? 1 /*DdmServer.CONNECTED*/ : 2 /*DdmServer.DISCONNECTED*/; local
[all...]
/art/runtime/jdwp/
H A Djdwp_handler.cc122 // We successfully requested the invoke. The event thread now owns the arguments array in its
843 * thread, which must have been suspended by an event.
1205 void operator()(JdwpEvent* event) { argument
1206 EventFree(event);
1211 * Set an event trigger.
1217 JdwpEventKind event_kind = request->ReadEnum1<JdwpEventKind>("event kind");
1331 LOG(WARNING) << "Unsupported modifier " << mod.modKind << " for event " << pEvent->eventKind;
1344 VLOG(jdwp) << StringPrintf(" --> event requestId=%#x", requestId);
1349 /* registration failed, probably because event is bogus */
1350 LOG(WARNING) << "WARNING: event reques
[all...]

Completed in 1364 milliseconds