Home
last modified time | relevance | path

Searched refs:ArtJvmTiEnv (Results 1 – 19 of 19) sorted by relevance

/art/openjdkjvmti/
Dti_logging.cc46 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in GetLastError()
66 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in ClearLastError()
Dti_field.h67 REQUIRES(!ArtJvmTiEnv::event_info_mutex_);
69 REQUIRES(!ArtJvmTiEnv::event_info_mutex_);
71 REQUIRES(!ArtJvmTiEnv::event_info_mutex_);
73 REQUIRES(!ArtJvmTiEnv::event_info_mutex_);
Devents.h33 struct ArtJvmTiEnv;
105 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
160 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
165 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
189 void RegisterArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
192 void RemoveArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
201 jvmtiError SetEvent(ArtJvmTiEnv* env,
229 inline void HandleChangedCapabilities(ArtJvmTiEnv* env,
237 inline void DispatchEventOnEnv(ArtJvmTiEnv* env,
246 inline void DispatchEventOnEnv(ArtJvmTiEnv* env, art::Thread* thread, Args... args) const
[all …]
Dti_breakpoint.cc66 void BreakpointUtil::RemoveBreakpointsInClass(ArtJvmTiEnv* env, art::mirror::Class* klass) { in RemoveBreakpointsInClass()
89 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetBreakpoint()
113 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearBreakpoint()
Dti_field.cc191 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetFieldModificationWatch()
208 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearFieldModificationWatch()
225 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetFieldAccessWatch()
242 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearFieldAccessWatch()
Dobject_tagging.h45 struct ArtJvmTiEnv;
50 ObjectTagTable(EventHandler* event_handler, ArtJvmTiEnv* env) in ObjectTagTable()
102 ArtJvmTiEnv* jvmti_env_;
Devents-inl.h38 static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e) { in GetArtJvmtiEvent()
146 explicit EventHandlerFunc(ArtJvmTiEnv* env) \
178 ArtJvmTiEnv* env_; \
195 for (ArtJvmTiEnv* env : envs) { in CollectEvents()
234 ArtJvmTiEnv* last_env = nullptr; in DispatchClassFileLoadHookEvent()
297 ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEventOnEnv()
308 ArtJvmTiEnv* env, art::Thread* thread, Args... args) const { in DispatchEventOnEnv()
340 ArtJvmTiEnv* env,
354 ArtJvmTiEnv* env,
375 ArtJvmTiEnv* env,
[all …]
Dti_breakpoint.h49 struct ArtJvmTiEnv;
80 static void RemoveBreakpointsInClass(ArtJvmTiEnv* env, art::mirror::Class* klass)
Dart_jvmti.h73 struct ArtJvmTiEnv : public jvmtiEnv { struct
109 ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint ti_version); argument
111 static ArtJvmTiEnv* AsArtJvmTiEnv(jvmtiEnv* env) { in AsArtJvmTiEnv() argument
112 return art::down_cast<ArtJvmTiEnv*>(env); in AsArtJvmTiEnv()
129 jint res = reinterpret_cast<ArtJvmTiEnv*>(env)->art_vm->GetEnv( in GetJniEnv()
219 static inline jvmtiError CopyDataIntoJvmtiBuffer(ArtJvmTiEnv* env, in CopyDataIntoJvmtiBuffer()
Dti_logging.h67 : env_(ArtJvmTiEnv::AsArtJvmTiEnv(env)), in JvmtiLogMessage()
86 ArtJvmTiEnv* env_;
DOpenjdkJvmTi.cc118 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.cap != 1) { \
401 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in FollowReferences()
417 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateThroughHeap()
432 if (!ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTag(obj.Ptr(), tag_ptr)) { in GetTag()
454 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->Set(obj.Ptr(), tag); in SetTag()
474 return ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTaggedObjects(env, in GetObjectsWithTags()
525 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateOverInstancesOfClass()
678 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in GetLoadedClasses()
792 jvmtiError res = Transformer::RetransformClasses(ArtJvmTiEnv::AsArtJvmTiEnv(env), in RetransformClasses()
811 jvmtiError res = Redefiner::RedefineClasses(ArtJvmTiEnv::AsArtJvmTiEnv(env), in RedefineClasses()
[all …]
Dti_redefine.h68 static jvmtiError RedefineClassesDirect(ArtJvmTiEnv* env,
77 static jvmtiError RedefineClasses(ArtJvmTiEnv* env,
207 ArtJvmTiEnv* env_;
216 Redefiner(ArtJvmTiEnv* env, in Redefiner()
227 jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def)
Dti_object.cc80 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(baseenv); in GetObjectMonitorUsage()
Dtransform.cc294 jvmtiError Transformer::RetransformClasses(ArtJvmTiEnv* env, in RetransformClasses()
337 jvmtiError GetClassLocation(ArtJvmTiEnv* env, jclass klass, /*out*/std::string* location) { in GetClassLocation()
Devents.cc146 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent()
156 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent()
203 void EventHandler::RegisterArtJvmTiEnv(ArtJvmTiEnv* env) { in RegisterArtJvmTiEnv()
208 void EventHandler::RemoveArtJvmTiEnv(ArtJvmTiEnv* env) { in RemoveArtJvmTiEnv()
1164 for (ArtJvmTiEnv *env : envs) { in SetupFramePopTraceListener()
1224 static bool HasAssociatedCapability(ArtJvmTiEnv* env, in HasAssociatedCapability()
1281 jvmtiError EventHandler::SetEvent(ArtJvmTiEnv* env, in SetEvent()
1363 for (ArtJvmTiEnv* stored_env : envs) { in GetThreadEventState()
Dti_extension.cc467 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetExtensionEventCallback()
Dti_heap.cc679 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in IterateOverInstancesOfClass()
820 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeap()
1497 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in GetObjectHeapId()
1561 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_tag_objects != 1) { \ in IterateThroughHeapExt()
1581 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeapExt()
Dti_redefine.cc394 jvmtiError Redefiner::RedefineClasses(ArtJvmTiEnv* env, in RedefineClasses()
439 jvmtiError Redefiner::RedefineClassesDirect(ArtJvmTiEnv* env, in RedefineClassesDirect()
467 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { in AddRedefinition()
Dti_stack.cc1017 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in NotifyFramePop()