Home
last modified time | relevance | path

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

/art/runtime/openjdkjvmti/
Devents.cc51 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { in IsEnabledAnywhere() argument
52 return global_event_mask.Test(event) || unioned_thread_event_mask.Test(event); in IsEnabledAnywhere()
91 void EventMasks::EnableEvent(art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() argument
92 DCHECK(EventMask::EventIsInRange(event)); in EnableEvent()
93 GetEventMask(thread).Set(event); in EnableEvent()
95 unioned_thread_event_mask.Set(event, true); in EnableEvent()
99 void EventMasks::DisableEvent(art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() argument
100 DCHECK(EventMask::EventIsInRange(event)); in DisableEvent()
101 GetEventMask(thread).Set(event, false); in DisableEvent()
106 union_value |= pair.second.Test(event); in DisableEvent()
[all …]
Devents.h89 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
90 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
93 void Set(ArtJvmtiEvent event, bool value = true) {
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 { in Test()
100 DCHECK(EventIsInRange(event)); in Test()
102 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
125 void EnableEvent(art::Thread* thread, ArtJvmtiEvent event);
126 void DisableEvent(art::Thread* thread, ArtJvmtiEvent event);
[all …]
Devents-inl.h279 inline void EventHandler::RecalculateGlobalEventMask(ArtJvmtiEvent event) { in RecalculateGlobalEventMask() argument
285 union_value |= stored_env->event_masks.global_event_mask.Test(event); in RecalculateGlobalEventMask()
286 union_value |= stored_env->event_masks.unioned_thread_event_mask.Test(event); in RecalculateGlobalEventMask()
291 global_mask.Set(event, union_value); in RecalculateGlobalEventMask()
297 ArtJvmtiEvent event = added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable in NeedsEventUpdate() local
300 IsEventEnabledAnywhere(event) && in NeedsEventUpdate()
301 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.cc412 static void PotentiallyAddListenerTo(Instrumentation::InstrumentationEvent event, in PotentiallyAddListenerTo() argument
419 if (!HasEvent(event, events)) { in PotentiallyAddListenerTo()
483 static void PotentiallyRemoveListenerFrom(Instrumentation::InstrumentationEvent event, in PotentiallyRemoveListenerFrom() argument
490 if (!HasEvent(event, events)) { in PotentiallyRemoveListenerFrom()
Dtrace.h211 instrumentation::Instrumentation::InstrumentationEvent event,
Dtrace.cc906 instrumentation::Instrumentation::InstrumentationEvent event, in LogMethodTraceEvent() argument
928 switch (event) { in LogMethodTraceEvent()
939 UNIMPLEMENTED(FATAL) << "Unexpected event: " << event; in LogMethodTraceEvent()
Ddebugger.cc276 static bool IsListeningTo(instrumentation::Instrumentation::InstrumentationEvent event) in IsListeningTo() argument
278 return (Dbg::GetInstrumentationEvents() & event) != 0; in IsListeningTo()
4350 jint event = connect ? 1 /*DdmServer.CONNECTED*/ : 2 /*DdmServer.DISCONNECTED*/; in DdmBroadcast() local
4353 event); in DdmBroadcast()
4355 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,