Home
last modified time | relevance | path

Searched refs:ArtJvmtiEvent (Results 1 – 15 of 15) sorted by relevance

/art/openjdkjvmti/
Devents.cc97 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 …]
Devents-inl.h38 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 …]
Devents.h44 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 …]
Dtransform.cc80 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()
Dobject_tagging.cc70 event_handler_->DispatchEventOnEnv<ArtJvmtiEvent::kObjectFree>( in SendSingleFreeEvent()
91 return event_handler_->IsEventEnabledAnywhere(ArtJvmtiEvent::kObjectFree); in DoesHandleNullOnSweep()
Dti_phase.cc68 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()
Dti_class_definition.h74 void SetNewDexData(jint new_dex_len, unsigned char* new_dex_data, ArtJvmtiEvent event) { in SetNewDexData()
84 if (event == ArtJvmtiEvent::kStructuralDexFileLoadHook) { in SetNewDexData()
Dtransform.h54 template <ArtJvmtiEvent kEvent>
Dti_extension.cc569 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()
Dti_dump.cc52 event_handler->DispatchEvent<ArtJvmtiEvent::kDataDumpRequest>(art::Thread::Current()); in SigQuit()
Dti_class.cc170 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()
Dti_thread.cc101 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()
Dti_method.cc91 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kNativeMethodBind)) { in RegisterNativeMethod()
99 event_handler->DispatchEvent<ArtJvmtiEvent::kNativeMethodBind>( in RegisterNativeMethod()
Dti_stack.cc1261 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_ENABLE); in SetupMethodExitEvents()
1272 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_DISABLE);
Dti_heap.cc1831 event_handler->DispatchEventOnEnv<ArtJvmtiEvent::kObsoleteObjectCreated>( in ReplaceWeakRoots()