Home
last modified time | relevance | path

Searched refs:event (Results 1 – 11 of 11) sorted by relevance

/art/runtime/openjdkjvmti/
Devents.h90 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
91 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
94 void Set(ArtJvmtiEvent event, bool value = true) {
95 DCHECK(EventIsInRange(event));
96 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
100 bool Test(ArtJvmtiEvent event) const { in Test()
101 DCHECK(EventIsInRange(event)); in Test()
103 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
126 void EnableEvent(art::Thread* thread, ArtJvmtiEvent event);
127 void DisableEvent(art::Thread* thread, ArtJvmtiEvent event);
[all …]
Devents.cc57 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { in IsEnabledAnywhere() argument
58 return global_event_mask.Test(event) || unioned_thread_event_mask.Test(event); in IsEnabledAnywhere()
97 void EventMasks::EnableEvent(art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() argument
98 DCHECK(EventMask::EventIsInRange(event)); in EnableEvent()
99 GetEventMask(thread).Set(event); in EnableEvent()
101 unioned_thread_event_mask.Set(event, true); in EnableEvent()
105 void EventMasks::DisableEvent(art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() argument
106 DCHECK(EventMask::EventIsInRange(event)); in DisableEvent()
107 GetEventMask(thread).Set(event, false); in DisableEvent()
112 union_value |= pair.second.Test(event); in DisableEvent()
[all …]
Devents-inl.h397 inline void EventHandler::RecalculateGlobalEventMask(ArtJvmtiEvent event) { in RecalculateGlobalEventMask() argument
403 union_value |= stored_env->event_masks.global_event_mask.Test(event); in RecalculateGlobalEventMask()
404 union_value |= stored_env->event_masks.unioned_thread_event_mask.Test(event); in RecalculateGlobalEventMask()
409 global_mask.Set(event, union_value); in RecalculateGlobalEventMask()
415 ArtJvmtiEvent event = added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable in NeedsEventUpdate() local
418 IsEventEnabledAnywhere(event) && in NeedsEventUpdate()
419 env->event_masks.IsEnabledAnywhere(event); in NeedsEventUpdate()
/art/runtime/
Druntime_callbacks_test.cc261 std::string event = in ClassPreDefine() local
264 data.push_back(event); in ClassPreDefine()
269 std::string event = std::string("Load:") + klass->GetDescriptor(&tmp); in ClassLoad() local
270 data.push_back(event); in ClassLoad()
276 std::string event = std::string("Prepare:") + klass->GetDescriptor(&tmp) in ClassPrepare() local
278 data.push_back(event); in ClassPrepare()
Dinstrumentation.cc439 static void PotentiallyAddListenerTo(Instrumentation::InstrumentationEvent event, in PotentiallyAddListenerTo() argument
446 if (!HasEvent(event, events)) { in PotentiallyAddListenerTo()
510 static void PotentiallyRemoveListenerFrom(Instrumentation::InstrumentationEvent event, in PotentiallyRemoveListenerFrom() argument
517 if (!HasEvent(event, events)) { in PotentiallyRemoveListenerFrom()
Dtrace.h229 instrumentation::Instrumentation::InstrumentationEvent event,
Dtrace.cc913 instrumentation::Instrumentation::InstrumentationEvent event, in LogMethodTraceEvent() argument
935 switch (event) { in LogMethodTraceEvent()
946 UNIMPLEMENTED(FATAL) << "Unexpected event: " << event; in LogMethodTraceEvent()
Ddebugger.cc281 static bool IsListeningTo(instrumentation::Instrumentation::InstrumentationEvent event) in IsListeningTo() argument
283 return (Dbg::GetInstrumentationEvents() & event) != 0; in IsListeningTo()
4362 jint event = connect ? 1 /*DdmServer.CONNECTED*/ : 2 /*DdmServer.DISCONNECTED*/; in DdmBroadcast() local
4365 event); in DdmBroadcast()
4367 LOG(ERROR) << "DdmServer.broadcast " << event << " failed"; in DdmBroadcast()
/art/runtime/jdwp/
Djdwp_event.cc285 for (JdwpEvent* event : to_remove) { in UnregisterLocationEventsOnClass()
286 UnregisterEvent(event); in UnregisterLocationEventsOnClass()
287 EventFree(event); in UnregisterLocationEventsOnClass()
Djdwp_handler.cc1205 void operator()(JdwpEvent* event) { in operator ()()
1206 EventFree(event); in operator ()()
/art/
DNOTICE166 8. Limitation of Liability. In no event and under no legal theory,