Searched refs:ArtJvmtiEvent (Results 1 – 15 of 15) sorted by relevance
/art/openjdkjvmti/ |
D | events.cc | 98 case static_cast<jint>(ArtJvmtiEvent::kObsoleteObjectCreated): in Set() 101 case static_cast<jint>(ArtJvmtiEvent::kDdmPublishChunk): in Set() 104 case static_cast<jint>(ArtJvmtiEvent::kStructuralDexFileLoadHook): in Set() 114 return e >= static_cast<jint>(ArtJvmtiEvent::kMinEventTypeVal) && in IsExtensionEvent() 115 e <= static_cast<jint>(ArtJvmtiEvent::kMaxEventTypeVal) && in IsExtensionEvent() 116 IsExtensionEvent(static_cast<ArtJvmtiEvent>(e)); in IsExtensionEvent() 119 bool IsExtensionEvent(ArtJvmtiEvent e) { in IsExtensionEvent() 121 case ArtJvmtiEvent::kDdmPublishChunk: in IsExtensionEvent() 122 case ArtJvmtiEvent::kObsoleteObjectCreated: in IsExtensionEvent() 123 case ArtJvmtiEvent::kStructuralDexFileLoadHook: in IsExtensionEvent() [all …]
|
D | events-inl.h | 38 static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e) { in GetArtJvmtiEvent() 41 return ArtJvmtiEvent::kClassFileLoadHookRetransformable; in GetArtJvmtiEvent() 43 return ArtJvmtiEvent::kClassFileLoadHookNonRetransformable; in GetArtJvmtiEvent() 46 return static_cast<ArtJvmtiEvent>(e); in GetArtJvmtiEvent() 94 fn(VMInit, ArtJvmtiEvent::kVmInit) \ 95 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \ 96 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \ 97 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \ 98 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \ 99 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \ [all …]
|
D | events.h | 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() [all …]
|
D | transform.cc | 256 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( 259 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( 262 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kStructuralDexFileLoadHook>( 265 template<ArtJvmtiEvent kEvent> 269 static_assert(kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable || in TransformSingleClassDirect() 270 kEvent == ArtJvmtiEvent::kClassFileLoadHookRetransformable || in TransformSingleClassDirect() 271 kEvent == ArtJvmtiEvent::kStructuralDexFileLoadHook, in TransformSingleClassDirect() 299 constexpr ArtJvmtiEvent kEvent = kType == RedefinitionType::kNormal in RetransformClassesDirect() 300 ? ArtJvmtiEvent::kClassFileLoadHookRetransformable in RetransformClassesDirect() 301 : ArtJvmtiEvent::kStructuralDexFileLoadHook; in RetransformClassesDirect()
|
D | object_tagging.cc | 70 event_handler_->DispatchEventOnEnv<ArtJvmtiEvent::kObjectFree>( in SendSingleFreeEvent() 91 return event_handler_->IsEventEnabledAnywhere(ArtJvmtiEvent::kObjectFree); in DoesHandleNullOnSweep()
|
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 | 54 template<ArtJvmtiEvent kEvent>
|
D | ti_class_definition.h | 81 void SetNewDexData(jint new_dex_len, unsigned char* new_dex_data, ArtJvmtiEvent event) { in SetNewDexData() 91 if (event == ArtJvmtiEvent::kStructuralDexFileLoadHook) { in SetNewDexData()
|
D | ti_extension.cc | 529 auto add_extension = [&](ArtJvmtiEvent extension_event_index, in GetExtensionEvents() 580 ArtJvmtiEvent::kDdmPublishChunk, in GetExtensionEvents() 598 ArtJvmtiEvent::kObsoleteObjectCreated, in GetExtensionEvents() 635 ArtJvmtiEvent::kStructuralDexFileLoadHook, in GetExtensionEvents() 707 static_cast<ArtJvmtiEvent>(extension_event_index), in SetExtensionEventCallback()
|
D | ti_dump.cc | 52 event_handler->DispatchEvent<ArtJvmtiEvent::kDataDumpRequest>(art::Thread::Current()); in SigQuit()
|
D | ti_class.cc | 172 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookRetransformable) || in ClassPreDefine() 173 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookNonRetransformable); in ClassPreDefine() 197 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( in ClassPreDefine() 208 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kStructuralDexFileLoadHook>( in ClassPreDefine() 211 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in ClassPreDefine() 280 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassLoad)) { in ClassLoad() 288 event_handler->DispatchEvent<ArtJvmtiEvent::kClassLoad>( in ClassLoad() 302 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassPrepare)) { in ClassPrepare() 315 event_handler->DispatchEvent<ArtJvmtiEvent::kClassPrepare>( in ClassPrepare()
|
D | ti_thread.cc | 101 template <ArtJvmtiEvent kEvent> 141 Post<ArtJvmtiEvent::kThreadStart>(self); in ThreadStart() 145 Post<ArtJvmtiEvent::kThreadEnd>(self); in ThreadDeath() 171 gThreadCallback.Post<ArtJvmtiEvent::kThreadStart>(art::Thread::Current()); in VMInitEventSent()
|
D | ti_method.cc | 91 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kNativeMethodBind)) { in RegisterNativeMethod() 99 event_handler->DispatchEvent<ArtJvmtiEvent::kNativeMethodBind>( in RegisterNativeMethod()
|
D | ti_stack.cc | 1260 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_ENABLE); in SetupMethodExitEvents() 1271 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_DISABLE);
|
D | ti_heap.cc | 1826 event_handler->DispatchEventOnEnv<ArtJvmtiEvent::kObsoleteObjectCreated>( in ReplaceWeakRoots()
|