Lines Matching refs:ArtJvmtiEvent

46 enum class ArtJvmtiEvent : jint {  enum
98 constexpr jint kInternalEventCount = static_cast<jint>(ArtJvmtiEvent::kMaxInternalEventTypeVal) -
99 static_cast<jint>(ArtJvmtiEvent::kMinInternalEventTypeVal) + 1;
153 bool IsExtensionEvent(ArtJvmtiEvent e);
156 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
158 static inline jvmtiEvent GetJvmtiEvent(ArtJvmtiEvent e) { in GetJvmtiEvent()
159 if (UNLIKELY(e == ArtJvmtiEvent::kClassFileLoadHookRetransformable)) { in GetJvmtiEvent()
168 static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal) -
169 static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal) + 1;
172 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
173 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
176 void Set(ArtJvmtiEvent event, bool value = true) {
178 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
182 bool Test(ArtJvmtiEvent event) const { in Test()
185 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
207 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
212 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
214 bool IsEnabledAnywhere(ArtJvmtiEvent event);
222 template <ArtJvmtiEvent kEvent> struct EventHandlerFunc { };
241 bool IsEventEnabledAnywhere(ArtJvmtiEvent event) const { in IsEventEnabledAnywhere()
254 ArtJvmtiEvent event,
260 ArtJvmtiEvent event,
266 template <ArtJvmtiEvent kEvent, typename ...Args>
277 template <ArtJvmtiEvent kEvent, typename ...Args>
292 template <ArtJvmtiEvent kEvent, typename ...Args>
301 template <ArtJvmtiEvent kEvent, typename ...Args>
321 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);
323 uint32_t GetInstrumentationEventsFor(ArtJvmtiEvent event);
328 template <ArtJvmtiEvent kEvent, typename ...Args>
334 template <ArtJvmtiEvent kEvent>
338 template <ArtJvmtiEvent kEvent, typename ...Args>
345 template <ArtJvmtiEvent kEvent, typename ...Args>
351 template <ArtJvmtiEvent kEvent, typename ...Args>
362 inline void RecalculateGlobalEventMask(ArtJvmtiEvent event) REQUIRES(!envs_lock_);
364 inline void RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) REQUIRES_SHARED(envs_lock_);
368 bool GetThreadEventState(ArtJvmtiEvent event, art::Thread* thread)
371 template <ArtJvmtiEvent kEvent>
384 template <ArtJvmtiEvent kEvent>
392 void HandleEventType(ArtJvmtiEvent event, bool enable);
395 jvmtiError HandleEventDeopt(ArtJvmtiEvent event, jthread thread, bool enable);
399 bool OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event);
401 int32_t GetInternalEventRefcount(ArtJvmtiEvent event) const REQUIRES(envs_lock_);
403 int32_t IncrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
405 int32_t DecrInternalEventRefcount(ArtJvmtiEvent event) REQUIRES(envs_lock_);
407 int32_t& GetInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
410 int32_t IncrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)
413 int32_t DecrInternalEventThreadRefcount(ArtJvmtiEvent event, art::Thread* target)