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.h36 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 …]
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.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.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.cc120 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 …]
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,
301 ArtJvmTiEnv* env_;
311 Redefiner(ArtJvmTiEnv* env, in Redefiner()
324 jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def)
Dtransform.cc353 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()
Devents.cc170 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()
Dti_heap.cc704 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()
Dti_extension.cc765 ArtJvmTiEnv* art_env = ArtJvmTiEnv::AsArtJvmTiEnv(env); in SetExtensionEventCallback()
Dti_redefine.cc556 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()
Dti_stack.cc1034 ArtJvmTiEnv* tienv = ArtJvmTiEnv::AsArtJvmTiEnv(env); in NotifyFramePop()