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 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()
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.cc601 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()
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()
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()
Dti_thread.cc102 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()
Dti_method.cc91 if (event_handler->IsEventEnabledAnywhere(ArtJvmtiEvent::kNativeMethodBind)) { in RegisterNativeMethod()
99 event_handler->DispatchEvent<ArtJvmtiEvent::kNativeMethodBind>( in RegisterNativeMethod()
Dti_stack.cc1259 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_ENABLE); in SetupMethodExitEvents()
1270 target_, ArtJvmtiEvent::kForceEarlyReturnUpdateReturnValue, JVMTI_DISABLE);
Dti_heap.cc1824 event_handler->DispatchEventOnEnv<ArtJvmtiEvent::kObsoleteObjectCreated>( in ReplaceWeakRoots()