Lines Matching refs:event
171 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
172 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
175 void Set(ArtJvmtiEvent event, bool value = true) {
176 DCHECK(EventIsInRange(event));
177 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
181 bool Test(ArtJvmtiEvent event) const { in Test()
182 DCHECK(EventIsInRange(event)); in Test()
184 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
206 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
211 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
213 bool IsEnabledAnywhere(ArtJvmtiEvent event);
240 bool IsEventEnabledAnywhere(ArtJvmtiEvent event) const { in IsEventEnabledAnywhere() argument
241 if (!EventMask::EventIsInRange(event)) { in IsEventEnabledAnywhere()
244 return global_mask.Test(event); in IsEventEnabledAnywhere()
253 ArtJvmtiEvent event,
259 ArtJvmtiEvent event,
320 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);
322 uint32_t GetInstrumentationEventsFor(ArtJvmtiEvent event);
361 inline void RecalculateGlobalEventMask(ArtJvmtiEvent event) REQUIRES(!envs_lock_);
363 inline void RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) REQUIRES_SHARED(envs_lock_);
367 bool GetThreadEventState(ArtJvmtiEvent event, art::Thread* thread)
391 void HandleEventType(ArtJvmtiEvent event, bool enable);
394 jvmtiError HandleEventDeopt(ArtJvmtiEvent event, jthread thread, bool enable);
398 bool OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event);
400 int32_t GetInternalEventRefcount(ArtJvmtiEvent event) const REQUIRES(envs_lock_);
402 int32_t IncrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
404 int32_t DecrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
406 int32_t& GetInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
409 int32_t IncrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
412 int32_t DecrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)