Searched refs:ArtJvmtiEvent (Results 1 – 12 of 12) sorted by relevance
/art/openjdkjvmti/ |
D | events-inl.h | 35 static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e) { in GetArtJvmtiEvent() 38 return ArtJvmtiEvent::kClassFileLoadHookRetransformable; in GetArtJvmtiEvent() 40 return ArtJvmtiEvent::kClassFileLoadHookNonRetransformable; in GetArtJvmtiEvent() 43 return static_cast<ArtJvmtiEvent>(e); in GetArtJvmtiEvent() 91 fn(VMInit, ArtJvmtiEvent::kVmInit) \ 92 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \ 93 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \ 94 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \ 95 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \ 96 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \ [all …]
|
D | events.cc | 77 case static_cast<jint>(ArtJvmtiEvent::kDdmPublishChunk): in Set() 87 return e >= static_cast<jint>(ArtJvmtiEvent::kMinEventTypeVal) && in IsExtensionEvent() 88 e <= static_cast<jint>(ArtJvmtiEvent::kMaxEventTypeVal) && in IsExtensionEvent() 89 IsExtensionEvent(static_cast<ArtJvmtiEvent>(e)); in IsExtensionEvent() 92 bool IsExtensionEvent(ArtJvmtiEvent e) { in IsExtensionEvent() 94 case ArtJvmtiEvent::kDdmPublishChunk: in IsExtensionEvent() 101 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { in IsEnabledAnywhere() 141 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() 151 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() 173 ArtJvmtiEvent to_remove = caps_added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable in HandleChangedCapabilities() [all …]
|
D | events.h | 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) { [all …]
|
D | object_tagging.cc | 61 return event_handler_->IsEventEnabledAnywhere(ArtJvmtiEvent::kObjectFree); in DoesHandleNullOnSweep() 64 event_handler_->DispatchEventOnEnv<ArtJvmtiEvent::kObjectFree>( in HandleNullSweep()
|
D | transform.cc | 245 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( 248 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( 251 template<ArtJvmtiEvent kEvent> 255 static_assert(kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable || in TransformSingleClassDirect() 256 kEvent == ArtJvmtiEvent::kClassFileLoadHookRetransformable, in TransformSingleClassDirect() 285 TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>(event_handler, in RetransformClassesDirect()
|
D | ti_phase.cc | 68 event_handler->DispatchEvent<ArtJvmtiEvent::kVmStart>(self, GetJniEnv()); in NextRuntimePhase() 77 event_handler->DispatchEvent<ArtJvmtiEvent::kVmInit>(self, GetJniEnv(), thread.get()); in NextRuntimePhase() 87 event_handler->DispatchEvent<ArtJvmtiEvent::kVmDeath>(self, GetJniEnv()); in NextRuntimePhase()
|
D | transform.h | 53 template<ArtJvmtiEvent kEvent>
|
D | ti_dump.cc | 50 event_handler->DispatchEvent<ArtJvmtiEvent::kDataDumpRequest>(art::Thread::Current()); in SigQuit()
|
D | ti_extension.cc | 292 auto add_extension = [&](ArtJvmtiEvent extension_event_index, in GetExtensionEvents() 343 ArtJvmtiEvent::kDdmPublishChunk, in GetExtensionEvents() 408 static_cast<ArtJvmtiEvent>(extension_event_index), in SetExtensionEventCallback()
|
D | ti_class.cc | 168 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookRetransformable) || in ClassPreDefine() 169 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookNonRetransformable); in ClassPreDefine() 193 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( in ClassPreDefine() 204 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in ClassPreDefine() 271 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassLoad)) { in ClassLoad() 279 event_handler->DispatchEvent<ArtJvmtiEvent::kClassLoad>( in ClassLoad() 293 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassPrepare)) { in ClassPrepare() 306 event_handler->DispatchEvent<ArtJvmtiEvent::kClassPrepare>( in ClassPrepare()
|
D | ti_thread.cc | 73 template <ArtJvmtiEvent kEvent> 99 Post<ArtJvmtiEvent::kThreadStart>(self); in ThreadStart() 103 Post<ArtJvmtiEvent::kThreadEnd>(self); in ThreadDeath() 129 gThreadCallback.Post<ArtJvmtiEvent::kThreadStart>(art::Thread::Current()); in VMInitEventSent()
|
D | ti_method.cc | 70 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kNativeMethodBind)) { in RegisterNativeMethod() 77 event_handler->DispatchEvent<ArtJvmtiEvent::kNativeMethodBind>( in RegisterNativeMethod()
|