/art/openjdkjvmti/ |
D | ti_field.h | 67 REQUIRES(!ArtJvmTiEnv::event_info_mutex_); 69 REQUIRES(!ArtJvmTiEnv::event_info_mutex_); 71 REQUIRES(!ArtJvmTiEnv::event_info_mutex_); 73 REQUIRES(!ArtJvmTiEnv::event_info_mutex_);
|
D | events.h | 34 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 …]
|
D | ti_field.cc | 74 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()
|
D | ti_breakpoint.cc | 78 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()
|
D | object_tagging.h | 45 struct ArtJvmTiEnv; 50 ObjectTagTable(EventHandler* event_handler, ArtJvmTiEnv* env) in ObjectTagTable() 102 ArtJvmTiEnv* jvmti_env_;
|
D | events-inl.h | 38 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 …]
|
D | art_jvmti.h | 82 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()
|
D | ti_logging.cc | 49 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in GetLastError() 69 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in ClearLastError()
|
D | ti_breakpoint.h | 49 struct ArtJvmTiEnv; 84 static void RemoveBreakpointsInClass(ArtJvmTiEnv* env, art::mirror::Class* klass)
|
D | OpenjdkJvmTi.cc | 114 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 …]
|
D | ti_logging.h | 65 : env_(ArtJvmTiEnv::AsArtJvmTiEnv(env)), in JvmtiLogMessage() 84 ArtJvmTiEnv* env_;
|
D | transform.h | 48 jvmtiError GetClassLocation(ArtJvmTiEnv* env, jclass klass, /*out*/std::string* location);
|
D | ti_object.cc | 80 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(baseenv); in GetObjectMonitorUsage()
|
D | ti_redefine.h | 79 static jvmtiError RedefineClassesDirect(ArtJvmTiEnv* env, 294 ArtJvmTiEnv* env_; 304 Redefiner(ArtJvmTiEnv* env, in Redefiner() 317 jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def)
|
D | transform.cc | 176 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()
|
D | events.cc | 169 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()
|
D | ti_heap.cc | 702 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()
|
D | ti_extension.cc | 763 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetExtensionEventCallback()
|
D | ti_redefine.cc | 570 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()
|
D | ti_stack.cc | 1033 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in NotifyFramePop()
|