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 ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>(EventHandler* event_handler, 84 ArtJvmtiEvent::kClassFileLoadHookRetransformable>(EventHandler* event_handler, 88 ArtJvmtiEvent::kStructuralDexFileLoadHook>(EventHandler* event_handler, 92 template <ArtJvmtiEvent kEvent> 96 static_assert(kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable || in CallClassFileLoadHooksSingleClass() 97 kEvent == ArtJvmtiEvent::kClassFileLoadHookRetransformable || in CallClassFileLoadHooksSingleClass() 98 kEvent == ArtJvmtiEvent::kStructuralDexFileLoadHook, in CallClassFileLoadHooksSingleClass() 131 CallClassFileLoadHooksSingleClass<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in CallClassFileLoadHooks() 142 CallClassFileLoadHooksSingleClass<ArtJvmtiEvent::kStructuralDexFileLoadHook>( in CallClassFileLoadHooks() 146 CallClassFileLoadHooksSingleClass<ArtJvmtiEvent::kClassFileLoadHookRetransformable>( in CallClassFileLoadHooks()
|
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 | 569 auto add_extension = [&](ArtJvmtiEvent extension_event_index, in GetExtensionEvents() 620 ArtJvmtiEvent::kDdmPublishChunk, in GetExtensionEvents() 639 ArtJvmtiEvent::kObsoleteObjectCreated, in GetExtensionEvents() 675 ArtJvmtiEvent::kStructuralDexFileLoadHook, in GetExtensionEvents() 747 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() 196 ArtJvmtiEvent::kClassFileLoadHookNonRetransformable>(event_handler, self, &def); in ClassPreDefine() 206 Transformer::CallClassFileLoadHooksSingleClass<ArtJvmtiEvent::kStructuralDexFileLoadHook>( in ClassPreDefine() 210 ArtJvmtiEvent::kClassFileLoadHookRetransformable>(event_handler, self, &def); 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 | 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 | 1261 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_ENABLE); in SetupMethodExitEvents() 1272 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_DISABLE);
|
D | ti_heap.cc | 1831 event_handler->DispatchEventOnEnv<ArtJvmtiEvent::kObsoleteObjectCreated>( in ReplaceWeakRoots()
|