Searched refs:ArtJvmtiEvent (Results 1 – 15 of 15) sorted by relevance
/art/openjdkjvmti/ |
D | events.cc | 97 case static_cast<jint>(ArtJvmtiEvent::kObsoleteObjectCreated): in Set() 100 case static_cast<jint>(ArtJvmtiEvent::kDdmPublishChunk): in Set() 103 case static_cast<jint>(ArtJvmtiEvent::kStructuralDexFileLoadHook): in Set() 113 return e >= static_cast<jint>(ArtJvmtiEvent::kMinEventTypeVal) && in IsExtensionEvent() 114 e <= static_cast<jint>(ArtJvmtiEvent::kMaxEventTypeVal) && in IsExtensionEvent() 115 IsExtensionEvent(static_cast<ArtJvmtiEvent>(e)); in IsExtensionEvent() 118 bool IsExtensionEvent(ArtJvmtiEvent e) { in IsExtensionEvent() 120 case ArtJvmtiEvent::kDdmPublishChunk: in IsExtensionEvent() 121 case ArtJvmtiEvent::kObsoleteObjectCreated: in IsExtensionEvent() 122 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 | 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() [all …]
|
D | transform.cc | 80 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( 83 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( 86 void Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kStructuralDexFileLoadHook>( 89 template<ArtJvmtiEvent kEvent> 93 static_assert(kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable || in TransformSingleClassDirect() 94 kEvent == ArtJvmtiEvent::kClassFileLoadHookRetransformable || in TransformSingleClassDirect() 95 kEvent == ArtJvmtiEvent::kStructuralDexFileLoadHook, in TransformSingleClassDirect() 121 constexpr ArtJvmtiEvent kEvent = kType == RedefinitionType::kNormal in RetransformClassesDirect() 122 ? ArtJvmtiEvent::kClassFileLoadHookRetransformable in RetransformClassesDirect() 123 : 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 | ti_class_definition.h | 74 void SetNewDexData(jint new_dex_len, unsigned char* new_dex_data, ArtJvmtiEvent event) { in SetNewDexData() 84 if (event == ArtJvmtiEvent::kStructuralDexFileLoadHook) { in SetNewDexData()
|
D | transform.h | 54 template<ArtJvmtiEvent kEvent>
|
D | ti_extension.cc | 601 auto add_extension = [&](ArtJvmtiEvent extension_event_index, in GetExtensionEvents() 652 ArtJvmtiEvent::kDdmPublishChunk, in GetExtensionEvents() 671 ArtJvmtiEvent::kObsoleteObjectCreated, in GetExtensionEvents() 707 ArtJvmtiEvent::kStructuralDexFileLoadHook, in GetExtensionEvents() 779 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 | 170 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookRetransformable) || in ClassPreDefine() 171 event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassFileLoadHookNonRetransformable); in ClassPreDefine() 195 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>( in ClassPreDefine() 206 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kStructuralDexFileLoadHook>( in ClassPreDefine() 209 Transformer::TransformSingleClassDirect<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in ClassPreDefine() 278 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassLoad)) { in ClassLoad() 286 event_handler->DispatchEvent<ArtJvmtiEvent::kClassLoad>( in ClassLoad() 300 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kClassPrepare)) { in ClassPrepare() 313 event_handler->DispatchEvent<ArtJvmtiEvent::kClassPrepare>( in ClassPrepare()
|
D | ti_thread.cc | 102 template <ArtJvmtiEvent kEvent> 142 Post<ArtJvmtiEvent::kThreadStart>(self); in ThreadStart() 146 Post<ArtJvmtiEvent::kThreadEnd>(self); in ThreadDeath() 172 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 | 1259 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_ENABLE); in SetupMethodExitEvents() 1270 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_DISABLE);
|
D | ti_heap.cc | 1824 event_handler->DispatchEventOnEnv<ArtJvmtiEvent::kObsoleteObjectCreated>( in ReplaceWeakRoots()
|