Lines Matching refs:ArtJvmtiEvent
41 enum class ArtJvmtiEvent : jint { enum
100 bool IsExtensionEvent(ArtJvmtiEvent e);
103 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
105 static inline jvmtiEvent GetJvmtiEvent(ArtJvmtiEvent e) { in GetJvmtiEvent()
106 if (UNLIKELY(e == ArtJvmtiEvent::kClassFileLoadHookRetransformable)) { in GetJvmtiEvent()
115 static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal) -
116 static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal) + 1;
119 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
120 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
123 void Set(ArtJvmtiEvent event, bool value = true) {
125 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
129 bool Test(ArtJvmtiEvent event) const { in Test()
132 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
158 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
163 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
165 bool IsEnabledAnywhere(ArtJvmtiEvent event);
173 template <ArtJvmtiEvent kEvent> struct EventHandlerFunc { };
192 bool IsEventEnabledAnywhere(ArtJvmtiEvent event) const { in IsEventEnabledAnywhere()
201 ArtJvmtiEvent event,
207 template <ArtJvmtiEvent kEvent, typename ...Args>
218 template <ArtJvmtiEvent kEvent, typename ...Args>
233 template <ArtJvmtiEvent kEvent, typename ...Args>
242 template <ArtJvmtiEvent kEvent, typename ...Args>
248 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);
250 template <ArtJvmtiEvent kEvent, typename ...Args>
256 template <ArtJvmtiEvent kEvent>
260 template <ArtJvmtiEvent kEvent, typename ...Args>
267 template <ArtJvmtiEvent kEvent, typename ...Args>
273 template <ArtJvmtiEvent kEvent, typename ...Args>
284 inline void RecalculateGlobalEventMask(ArtJvmtiEvent event) REQUIRES(!envs_lock_);
286 inline void RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) REQUIRES_SHARED(envs_lock_);
288 template <ArtJvmtiEvent kEvent>
301 void HandleEventType(ArtJvmtiEvent event, bool enable);
305 bool OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event);