Searched refs:ArtJvmtiEvent (Results 1 – 10 of 10) sorted by relevance
/art/runtime/openjdkjvmti/ |
D | events-inl.h | 28 static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e) { in GetArtJvmtiEvent() 31 return ArtJvmtiEvent::kClassFileLoadHookRetransformable; in GetArtJvmtiEvent() 33 return ArtJvmtiEvent::kClassFileLoadHookNonRetransformable; in GetArtJvmtiEvent() 36 return static_cast<ArtJvmtiEvent>(e); in GetArtJvmtiEvent() 45 fn(VMInit, ArtJvmtiEvent::kVmInit) \ 46 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \ 47 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \ 48 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \ 49 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \ 50 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \ [all …]
|
D | events.cc | 51 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { in IsEnabledAnywhere() 91 void EventMasks::EnableEvent(art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() 99 void EventMasks::DisableEvent(art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() 119 ArtJvmtiEvent to_remove = caps_added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable in HandleChangedCapabilities() 120 : ArtJvmtiEvent::kClassFileLoadHookRetransformable; in HandleChangedCapabilities() 121 ArtJvmtiEvent to_add = caps_added ? ArtJvmtiEvent::kClassFileLoadHookRetransformable in HandleChangedCapabilities() 122 : ArtJvmtiEvent::kClassFileLoadHookNonRetransformable; in HandleChangedCapabilities() 160 for (size_t i = static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal); in RemoveArtJvmTiEnv() 161 i <= static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal); in RemoveArtJvmTiEnv() 163 RecalculateGlobalEventMask(static_cast<ArtJvmtiEvent>(i)); in RemoveArtJvmTiEnv() [all …]
|
D | events.h | 35 enum class ArtJvmtiEvent { enum 73 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e); 75 static inline jvmtiEvent GetJvmtiEvent(ArtJvmtiEvent e) { in GetJvmtiEvent() 76 if (UNLIKELY(e == ArtJvmtiEvent::kClassFileLoadHookRetransformable)) { in GetJvmtiEvent() 85 static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal) - 86 static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal) + 1; 89 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) { 95 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal), [all …]
|
D | object_tagging.cc | 61 return event_handler_->IsEventEnabledAnywhere(ArtJvmtiEvent::kObjectFree); in DoesHandleNullOnSweep() 64 event_handler_->DispatchEvent<ArtJvmtiEvent::kObjectFree>(jvmti_env_, nullptr, tag); in HandleNullSweep()
|
D | ti_phase.cc | 67 event_handler->DispatchEvent<ArtJvmtiEvent::kVmStart>(nullptr, GetJniEnv()); in NextRuntimePhase() 76 event_handler->DispatchEvent<ArtJvmtiEvent::kVmInit>(nullptr, GetJniEnv(), thread.get()); in NextRuntimePhase() 83 event_handler->DispatchEvent<ArtJvmtiEvent::kVmDeath>(nullptr, GetJniEnv()); in NextRuntimePhase()
|
D | ti_dump.cc | 51 event_handler->DispatchEvent<ArtJvmtiEvent::kDataDumpRequest>(nullptr); in SigQuit()
|
D | ti_class.cc | 142 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookRetransformable) || in ClassPreDefine() 143 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookNonRetransformable); in ClassPreDefine() 177 event_handler->DispatchEvent<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( in ClassPreDefine() 200 event_handler->DispatchEvent<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in ClassPreDefine() 285 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassLoad)) { in ClassLoad() 293 event_handler->DispatchEvent<ArtJvmtiEvent::kClassLoad>( in ClassLoad() 308 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassPrepare)) { in ClassPrepare() 320 event_handler->DispatchEvent<ArtJvmtiEvent::kClassPrepare>( in ClassPrepare()
|
D | transform.cc | 74 event_handler->DispatchEvent<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in RetransformClassesDirect()
|
D | ti_thread.cc | 67 template <ArtJvmtiEvent kEvent> 92 Post<ArtJvmtiEvent::kThreadStart>(self); in ThreadStart() 96 Post<ArtJvmtiEvent::kThreadEnd>(self); in ThreadDeath() 104 Post<ArtJvmtiEvent::kThreadStart>(art::Thread::Current()); in NextRuntimePhase()
|
D | ti_method.cc | 56 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kNativeMethodBind)) { in RegisterNativeMethod() 63 event_handler->DispatchEvent<ArtJvmtiEvent::kNativeMethodBind>( in RegisterNativeMethod()
|