/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 | 36 struct ArtJvmTiEnv; 155 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e); 206 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event); 211 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event); 235 void RegisterArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_); 238 void RemoveArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_); 257 jvmtiError SetEvent(ArtJvmTiEnv* env, 285 inline void HandleChangedCapabilities(ArtJvmTiEnv* env, 293 inline void DispatchEventOnEnv(ArtJvmTiEnv* env, 302 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 | 73 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()
|
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 | 120 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.cap != 1) { \ 393 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in FollowReferences() 409 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateThroughHeap() 424 if (!ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTag(obj.Ptr(), tag_ptr)) { in GetTag() 446 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->Set(obj.Ptr(), tag); in SetTag() 466 return ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table->GetTaggedObjects(env, in GetObjectsWithTags() 517 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in IterateOverInstancesOfClass() 670 HeapUtil heap_util(ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get()); in GetLoadedClasses() 1005 ArtJvmTiEnv::AsArtJvmTiEnv(env)->event_callbacks.reset(); in SetEventCallbacks() 1010 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, 301 ArtJvmTiEnv* env_; 311 Redefiner(ArtJvmTiEnv* env, in Redefiner() 324 jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def)
|
D | transform.cc | 353 ArtJvmTiEnv::AsArtJvmTiEnv(env), runtime, self, definitions, redef_type, &error_msg); in RetransformClasses() 361 jvmtiError GetClassLocation(ArtJvmTiEnv* env, jclass klass, /*out*/std::string* location) { in GetClassLocation()
|
D | events.cc | 170 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() 180 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() 227 void EventHandler::RegisterArtJvmTiEnv(ArtJvmTiEnv* env) { in RegisterArtJvmTiEnv() 232 void EventHandler::RemoveArtJvmTiEnv(ArtJvmTiEnv* env) { in RemoveArtJvmTiEnv() 1309 for (ArtJvmTiEnv *env : envs) { in SetupFramePopTraceListener() 1370 static bool HasAssociatedCapability(ArtJvmTiEnv* env, in HasAssociatedCapability() 1511 jvmtiError EventHandler::SetEvent(ArtJvmTiEnv* env, in SetEvent() 1593 for (ArtJvmTiEnv* stored_env : envs) { in GetThreadEventState()
|
D | ti_heap.cc | 704 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in IterateOverInstancesOfClass() 846 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeap() 1524 ObjectTagTable* tag_table = ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(); in GetObjectHeapId() 1588 if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_tag_objects != 1) { \ in IterateThroughHeapExt() 1608 ArtJvmTiEnv::AsArtJvmTiEnv(env)->object_tag_table.get(), in IterateThroughHeapExt() 1813 std::unordered_map<ArtJvmTiEnv*, std::vector<NewTagValue>> changed_tags; in ReplaceWeakRoots() 1814 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 | 765 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetExtensionEventCallback()
|
D | ti_redefine.cc | 556 ArtJvmTiEnv* env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in RedefineClassesGeneric() 603 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(jenv); in StructurallyRedefineClasses() 624 } else if (ArtJvmTiEnv::AsArtJvmTiEnv(env)->capabilities.can_redefine_classes != 1) { in StructurallyRedefineClassDirect() 638 err = RedefineClassesDirect(ArtJvmTiEnv::AsArtJvmTiEnv(env), in StructurallyRedefineClassDirect() 650 jvmtiError Redefiner::RedefineClassesDirect(ArtJvmTiEnv* env, in RedefineClassesDirect() 685 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { in AddRedefinition()
|
D | ti_stack.cc | 1034 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in NotifyFramePop()
|