Home
last modified time | relevance | path

Searched defs:jvmti (Results 1 – 25 of 30) sorted by relevance

12

/art/tools/jvmti-agents/jit-load/
Djitload.cc53 JNICALL void VmInitCb(jvmtiEnv* jvmti, in VmInitCb()
68 JNICALL static void DataDumpRequestCb(jvmtiEnv* jvmti) { in DataDumpRequestCb()
74 JNICALL void ClassPrepareJit(jvmtiEnv* jvmti, in ClassPrepareJit()
88 JNICALL void VMDeathCb(jvmtiEnv* jvmti, JNIEnv* env ATTRIBUTE_UNUSED) { in VMDeathCb()
95 jvmtiEnv* jvmti = nullptr; in SetupJvmti() local
127 jvmtiEnv* jvmti = SetupJvmti(vm, options); in Agent_OnAttach() local
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc324 template <typename ...Args> void PrintRestNoJNI(jvmtiEnv* jvmti, Args... args) { in PrintRestNoJNI()
419 void LogPrinter::PrintRest(jvmtiEnv* jvmti, in PrintRest()
433 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint* v, Args... args) { in PrintRest()
439 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const void* v, Args... args) { in PrintRest()
445 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, unsigned char** v, Args... args) { in PrintRest()
451 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const unsigned char* v, Args... args) { in PrintRest()
457 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const char* v, Args... args) { in PrintRest()
463 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jvalue v, Args... args) { in PrintRest()
486 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void** v, Args... args) { in PrintRest()
492 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void* v, Args... args) { in PrintRest()
[all …]
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc77 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
92 static void DataDumpRequestCb(jvmtiEnv* jvmti) { in DataDumpRequestCb()
143 static void VMDeathCb(jvmtiEnv* jvmti, JNIEnv* env ATTRIBUTE_UNUSED) { in VMDeathCb()
150 static void CreateFieldList(jvmtiEnv* jvmti, JNIEnv* env, const std::string& args) { in CreateFieldList()
157 static void VMInitCb(jvmtiEnv* jvmti, JNIEnv* env, jobject thr ATTRIBUTE_UNUSED) { in VMInitCb()
172 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc74 static AgentInfo* GetAgentInfo(jvmtiEnv* jvmti) { in GetAgentInfo()
83 explicit JvmtiAllocator(jvmtiEnv* jvmti) : jvmti_(jvmti) {} in JvmtiAllocator()
136 static void CbClassFileLoadHook(jvmtiEnv* jvmti, in CbClassFileLoadHook()
168 static jclass FindClass(jvmtiEnv* jvmti, JNIEnv* env, const std::string& name) { in FindClass()
203 static void RedefineClass(jvmtiEnv* jvmti, JNIEnv* env, const std::string& klass_name) { in RedefineClass()
215 static void AgentMain(jvmtiEnv* jvmti, JNIEnv* jni, void* arg ATTRIBUTE_UNUSED) { in AgentMain()
230 static void CbVmInit(jvmtiEnv* jvmti, JNIEnv* env, jthread thr ATTRIBUTE_UNUSED) { in CbVmInit()
267 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/tools/jvmti-agents/simple-profile/
Dsimple_profile.cc117 void SimpleProfileData::Enter(jvmtiEnv* jvmti, JNIEnv* env, jmethodID meth) { in Enter()
132 void SimpleProfileData::Dump(jvmtiEnv* jvmti) { in Dump()
138 void SimpleProfileData::RunDumpLoop(jvmtiEnv* jvmti, JNIEnv* env) { in RunDumpLoop()
157 void SimpleProfileData::Shutdown(jvmtiEnv* jvmti, JNIEnv* jni) { in Shutdown()
173 void SimpleProfileData::FinishInitialization(jvmtiEnv* jvmti, JNIEnv* env, jthread cur) { in FinishInitialization()
194 [](jvmtiEnv* jvmti, JNIEnv* jni, void* unused_data ATTRIBUTE_UNUSED) { in FinishInitialization()
321 void SimpleProfileData::DoDump(jvmtiEnv* jvmti, in DoDump()
362 static void VMInitCB(jvmtiEnv* jvmti, JNIEnv* env, jthread thr) { in VMInitCB()
366 static void VMDeathCB(jvmtiEnv* jvmti, JNIEnv* env) { in VMDeathCB()
406 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
[all …]
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc79 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
94 static void DataDumpRequestCb(jvmtiEnv* jvmti) { in DataDumpRequestCb()
198 static void VMDeathCb(jvmtiEnv* jvmti, JNIEnv* env ATTRIBUTE_UNUSED) { in VMDeathCb()
205 static void CreateFieldList(jvmtiEnv* jvmti, JNIEnv* env, const std::string& args) { in CreateFieldList()
214 static void VMInitCb(jvmtiEnv* jvmti, JNIEnv* env, jobject thr ATTRIBUTE_UNUSED) { in VMInitCb()
228 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/tools/jvmti-agents/dump-jvmti-state/
Ddump-jvmti.cc47 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
81 static void CbDataDump(jvmtiEnv* jvmti) { in CbDataDump()
92 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/test/ti-agent/
Dtrace_helper.cc30 static bool IsInCallback(JNIEnv* env, jvmtiEnv *jvmti, jthread thr) { in IsInCallback()
45 static void SetInCallback(JNIEnv* env, jvmtiEnv *jvmti, jthread thr, bool val) { in SetInCallback()
98 static void threadStartCB(jvmtiEnv* jvmti, in threadStartCB()
113 static void threadEndCB(jvmtiEnv* jvmti, in threadEndCB()
129 static void singleStepCB(jvmtiEnv* jvmti, in singleStepCB()
157 static void fieldAccessCB(jvmtiEnv* jvmti, in fieldAccessCB()
193 static void fieldModificationCB(jvmtiEnv* jvmti, in fieldModificationCB()
238 static void methodExitCB(jvmtiEnv* jvmti, in methodExitCB()
275 static void methodEntryCB(jvmtiEnv* jvmti, in methodEntryCB()
304 static void classPrepareCB(jvmtiEnv* jvmti, in classPrepareCB()
Dsuspend_event_helper.cc86 void PerformSuspension(jvmtiEnv* jvmti, JNIEnv* env) { in PerformSuspension()
99 cbSingleStep(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID meth, jlocation loc) { in cbSingleStep()
112 void JNICALL cbExceptionCatch(jvmtiEnv* jvmti, in cbExceptionCatch()
130 void JNICALL cbException(jvmtiEnv* jvmti, in cbException()
150 void JNICALL cbMethodEntry(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID method) { in cbMethodEntry()
163 void JNICALL cbMethodExit(jvmtiEnv* jvmti, in cbMethodExit()
181 void JNICALL cbFieldModification(jvmtiEnv* jvmti, in cbFieldModification()
204 void JNICALL cbFieldAccess(jvmtiEnv* jvmti, in cbFieldAccess()
226 cbBreakpointHit(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID method, jlocation loc) { in cbBreakpointHit()
247 void JNICALL cbFramePop(jvmtiEnv* jvmti, in cbFramePop()
[all …]
Dmonitors_helper.cc81 static void monitorEnterCB(jvmtiEnv* jvmti, in monitorEnterCB()
95 static void monitorEnteredCB(jvmtiEnv* jvmti, in monitorEnteredCB()
109 static void monitorWaitCB(jvmtiEnv* jvmti, in monitorWaitCB()
124 static void monitorWaitedCB(jvmtiEnv* jvmti, in monitorWaitedCB()
Dcommon_helper.cc31 jobject GetJavaField(jvmtiEnv* jvmti, JNIEnv* env, jclass field_klass, jfieldID f) { in GetJavaField()
41 jobject GetJavaMethod(jvmtiEnv* jvmti, JNIEnv* env, jmethodID m) { in GetJavaMethod()
Djvmti_helper.cc241 jint GetExtensionEventId(jvmtiEnv* jvmti, const std::string_view& name) { in GetExtensionEventId()
261 void* GetExtensionFunctionVoid(JNIEnv* env, jvmtiEnv* jvmti, const std::string_view& name) { in GetExtensionFunctionVoid()
Dexceptions_helper.cc37 static void exceptionCB(jvmtiEnv* jvmti, in exceptionCB()
78 static void exceptionCatchCB(jvmtiEnv* jvmti, in exceptionCatchCB()
Djvmti_helper.h93 template<typename T> T GetExtensionFunction(JNIEnv* env, jvmtiEnv* jvmti, const std::string_view& n… in GetExtensionFunction()
Dredefinition_helper.cc43 static void throwCommonRedefinitionError(jvmtiEnv* jvmti, in throwCommonRedefinitionError()
118 jvmtiEnv* jvmti, in CallRedefineEntrypoint()
135 static void throwRedefinitionError(jvmtiEnv* jvmti, in throwRedefinitionError()
384 static void throwRetransformationError(jvmtiEnv* jvmti, in throwRetransformationError()
Dframe_pop_helper.cc34 static void framePopCB(jvmtiEnv* jvmti, in framePopCB()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc58 static void JNICALL ThreadStartCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in ThreadStartCallback()
66 static void JNICALL Test1919AgentThread(jvmtiEnv* jvmti, in Test1919AgentThread()
81 static void CreateAgentThread(jvmtiEnv* jvmti, JNIEnv* env) { in CreateAgentThread()
108 static void JNICALL VMInitCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in VMInitCallback()
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc60 T GetExtensionFunction(jvmtiEnv* jvmti, const std::string_view& name) { in GetExtensionFunction()
79 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
93 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc276 static std::string formatAllocation(jvmtiEnv* jvmti, in formatAllocation()
295 static std::string formatMethod(jvmtiEnv* jvmti, JNIEnv* jni, jmethodID method_id) { in formatMethod()
310 static void JNICALL logVMObjectAlloc(jvmtiEnv* jvmti, in logVMObjectAlloc()
357 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv()
368 static jvmtiError SetupCapabilities(jvmtiEnv* jvmti) { in SetupCapabilities()
419 jvmtiEnv* jvmti = nullptr; in AgentStart() local
/art/tools/jvmti-agents/titrace/
Dtitrace.cc27 #define CHECK_JVMTI_ERROR(jvmti, errnum) \ argument
32 static const char* GetJvmtiErrorString(jvmtiEnv* jvmti, jvmtiError errnum) { in GetJvmtiErrorString()
242 jvmtiEnv* jvmti = nullptr; in Agent_OnLoad() local
/art/openjdkjvmti/
Dti_dump.cc75 jvmtiError DumpUtil::DumpInternalState(jvmtiEnv *jvmti, char **data) { in DumpInternalState()
/art/test/1962-multi-thread-events/
Dmulti_thread_events.cc37 void cbMethodEntry(jvmtiEnv* jvmti, in cbMethodEntry()
/art/test/1959-redefine-object-instrument/
Dfake_redef_object.cc68 explicit JvmtiAllocator(jvmtiEnv* jvmti) : jvmti_(jvmti) {} in RedefineObjectHook()
/art/test/980-redefine-object/
Dredef_object.cc81 explicit JvmtiAllocator(jvmtiEnv* jvmti) : jvmti_(jvmti) {} in RedefineObjectHook()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc39 static void VMInitCB(jvmtiEnv* jvmti, JNIEnv* env, jthread thr ATTRIBUTE_UNUSED) { in VMInitCB()
354 jvmtiEnv* jvmti = nullptr; in AgentStart() local

12