Lines Matching refs:ArtJvmtiEvent
44 enum class ArtJvmtiEvent : jint { enum
96 constexpr jint kInternalEventCount = static_cast<jint>(ArtJvmtiEvent::kMaxInternalEventTypeVal) -
97 static_cast<jint>(ArtJvmtiEvent::kMinInternalEventTypeVal) + 1;
150 bool IsExtensionEvent(ArtJvmtiEvent e);
153 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
155 static inline jvmtiEvent GetJvmtiEvent(ArtJvmtiEvent e) { in GetJvmtiEvent()
156 if (UNLIKELY(e == ArtJvmtiEvent::kClassFileLoadHookRetransformable)) { in GetJvmtiEvent()
165 static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal) -
166 static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal) + 1;
169 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
170 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
173 void Set(ArtJvmtiEvent event, bool value = true) {
175 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
179 bool Test(ArtJvmtiEvent event) const { in Test()
182 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
204 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
209 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
211 bool IsEnabledAnywhere(ArtJvmtiEvent event);
219 template <ArtJvmtiEvent kEvent> struct EventHandlerFunc { };
238 bool IsEventEnabledAnywhere(ArtJvmtiEvent event) const { in IsEventEnabledAnywhere()
251 ArtJvmtiEvent event,
257 ArtJvmtiEvent event,
263 template <ArtJvmtiEvent kEvent, typename ...Args>
274 template <ArtJvmtiEvent kEvent, typename ...Args>
289 template <ArtJvmtiEvent kEvent, typename ...Args>
298 template <ArtJvmtiEvent kEvent, typename ...Args>
318 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);
320 uint32_t GetInstrumentationEventsFor(ArtJvmtiEvent event);
325 template <ArtJvmtiEvent kEvent, typename ...Args>
331 template <ArtJvmtiEvent kEvent>
335 template <ArtJvmtiEvent kEvent, typename ...Args>
342 template <ArtJvmtiEvent kEvent, typename ...Args>
348 template <ArtJvmtiEvent kEvent, typename ...Args>
359 inline void RecalculateGlobalEventMask(ArtJvmtiEvent event) REQUIRES(!envs_lock_);
361 inline void RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) REQUIRES_SHARED(envs_lock_);
365 bool GetThreadEventState(ArtJvmtiEvent event, art::Thread* thread)
368 template <ArtJvmtiEvent kEvent>
381 template <ArtJvmtiEvent kEvent>
389 void HandleEventType(ArtJvmtiEvent event, bool enable);
392 jvmtiError HandleEventDeopt(ArtJvmtiEvent event, jthread thread, bool enable);
396 bool OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event);
398 int32_t GetInternalEventRefcount(ArtJvmtiEvent event) const REQUIRES(envs_lock_);
400 int32_t IncrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
402 int32_t DecrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
404 int32_t& GetInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
407 int32_t IncrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
410 int32_t DecrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)