Home
last modified time | relevance | path

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

/art/openjdkjvmti/
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.h34 struct ArtJvmTiEnv;
153 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
204 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
209 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
233 void RegisterArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
236 void RemoveArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
255 jvmtiError SetEvent(ArtJvmTiEnv* env,
283 inline void HandleChangedCapabilities(ArtJvmTiEnv* env,
291 inline void DispatchEventOnEnv(ArtJvmTiEnv* env,
300 inline void DispatchEventOnEnv(ArtJvmTiEnv* env, art::Thread* thread, Args... args) const
[all …]
Dti_field.cc74 event_handler->ForEachEnv(self, [&](ArtJvmTiEnv* env) NO_THREAD_SAFETY_ANALYSIS { in VisitReflectiveTargets()
272 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetFieldModificationWatch()
289 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearFieldModificationWatch()
306 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetFieldAccessWatch()
323 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearFieldAccessWatch()
Dti_breakpoint.cc78 eh_->ForEachEnv(self, [&](ArtJvmTiEnv* env) NO_THREAD_SAFETY_ANALYSIS { in VisitReflectiveTargets()
129 void BreakpointUtil::RemoveBreakpointsInClass(ArtJvmTiEnv* env, art::mirror::Class* klass) { in RemoveBreakpointsInClass()
152 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in SetBreakpoint()
176 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in ClearBreakpoint()
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()
148 explicit EventHandlerFunc(ArtJvmTiEnv* env) \
180 ArtJvmTiEnv* env_; \
197 for (ArtJvmTiEnv* env : envs) { in CollectEvents()
237 ArtJvmTiEnv* last_env = nullptr; in DispatchClassFileLoadHookEvent()
300 ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEventOnEnv()
311 ArtJvmTiEnv* env, art::Thread* thread, Args... args) const { in DispatchEventOnEnv()
326 ArtJvmTiEnv* env, art::Thread* thread, jlong* obsolete_tag, jlong* new_tag) const {
361 ArtJvmTiEnv* env,
375 ArtJvmTiEnv* env,
[all …]
Dart_jvmti.h82 struct ArtJvmTiEnv : public jvmtiEnv { struct
118 ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint ti_version); argument
120 static ArtJvmTiEnv* AsArtJvmTiEnv(jvmtiEnv* env) { in AsArtJvmTiEnv() argument
121 return art::down_cast<ArtJvmTiEnv*>(env); in AsArtJvmTiEnv()
138 jint res = reinterpret_cast<ArtJvmTiEnv*>(env)->art_vm->GetEnv( in GetJniEnv()
228 static inline jvmtiError CopyDataIntoJvmtiBuffer(ArtJvmTiEnv* env, in CopyDataIntoJvmtiBuffer()
Dti_logging.cc49 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in GetLastError()
69 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in ClearLastError()
Dti_breakpoint.h49 struct ArtJvmTiEnv;
84 static void RemoveBreakpointsInClass(ArtJvmTiEnv* env, art::mirror::Class* klass)
DOpenjdkJvmTi.cc114 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.cap != 1) { \
387 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in FollowReferences()
403 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateThroughHeap()
418 if (!ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTag(obj.Ptr(), tag_ptr)) { in GetTag()
440 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->Set(obj.Ptr(), tag); in SetTag()
460 return ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTaggedObjects(env, in GetObjectsWithTags()
511 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateOverInstancesOfClass()
664 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in GetLoadedClasses()
999 ArtJvmTiEnv::AsArtJvmTiEnv(env)->event_callbacks.reset(); in SetEventCallbacks()
1004 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetEventCallbacks()
[all …]
Dti_logging.h65 : env_(ArtJvmTiEnv::AsArtJvmTiEnv(env)), in JvmtiLogMessage()
84 ArtJvmTiEnv* env_;
Dtransform.h48 jvmtiError GetClassLocation(ArtJvmTiEnv* env, jclass klass, /*out*/std::string* location);
Dti_object.cc80 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(baseenv); in GetObjectMonitorUsage()
Dti_redefine.h79 static jvmtiError RedefineClassesDirect(ArtJvmTiEnv* env,
294 ArtJvmTiEnv* env_;
304 Redefiner(ArtJvmTiEnv* env, in Redefiner()
317 jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def)
Dtransform.cc176 ArtJvmTiEnv::AsArtJvmTiEnv(env), runtime, self, definitions, redef_type, &error_msg); in RetransformClasses()
184 jvmtiError GetClassLocation(ArtJvmTiEnv* env, jclass klass, /*out*/std::string* location) { in GetClassLocation()
Devents.cc169 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent()
179 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent()
226 void EventHandler::RegisterArtJvmTiEnv(ArtJvmTiEnv* env) { in RegisterArtJvmTiEnv()
231 void EventHandler::RemoveArtJvmTiEnv(ArtJvmTiEnv* env) { in RemoveArtJvmTiEnv()
1296 for (ArtJvmTiEnv *env : envs) { in SetupFramePopTraceListener()
1357 static bool HasAssociatedCapability(ArtJvmTiEnv* env, in HasAssociatedCapability()
1498 jvmtiError EventHandler::SetEvent(ArtJvmTiEnv* env, in SetEvent()
1580 for (ArtJvmTiEnv* stored_env : envs) { in GetThreadEventState()
Dti_heap.cc702 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in IterateOverInstancesOfClass()
844 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeap()
1522 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in GetObjectHeapId()
1586 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_tag_objects != 1) { \ in IterateThroughHeapExt()
1606 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeapExt()
1811 std::unordered_map<ArtJvmTiEnv*, std::vector<NewTagValue>> changed_tags; in ReplaceWeakRoots()
1812 event_handler->ForEachEnv(self, [&](ArtJvmTiEnv* env) { in ReplaceWeakRoots()
1858 event_handler->ForEachEnv(self, [&](ArtJvmTiEnv* env) { in ReplaceWeakRoots()
1889 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_tag_objects != 1) { in ChangeArraySize()
Dti_extension.cc763 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetExtensionEventCallback()
Dti_redefine.cc570 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in RedefineClassesGeneric()
617 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in StructurallyRedefineClasses()
638 } else if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_redefine_classes != 1) { in StructurallyRedefineClassDirect()
652 err = RedefineClassesDirect(ArtJvmTiEnv::AsArtJvmTiEnv(env), in StructurallyRedefineClassDirect()
664 jvmtiError Redefiner::RedefineClassesDirect(ArtJvmTiEnv* env, in RedefineClassesDirect()
699 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { in AddRedefinition()
Dti_stack.cc1033 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in NotifyFramePop()