/art/tools/jvmti-agents/jit-load/ |
D | jitload.cc | 53 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/ |
D | tifast.cc | 324 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/ |
D | fieldnull.cc | 77 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/ |
D | forceredefine.cc | 74 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/field-counts/ |
D | fieldcount.cc | 79 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/ |
D | dump-jvmti.cc | 47 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/1919-vminit-thread-start-timing/ |
D | vminit.cc | 58 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/test/ti-agent/ |
D | trace_helper.cc | 30 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()
|
D | suspend_event_helper.cc | 86 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 …]
|
D | monitors_helper.cc | 81 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()
|
D | common_helper.cc | 31 jobject GetJavaField(jvmtiEnv* jvmti, JNIEnv* env, jclass field_klass, jfieldID f) { in GetJavaField() 41 jobject GetJavaMethod(jvmtiEnv* jvmti, JNIEnv* env, jmethodID m) { in GetJavaMethod()
|
D | jvmti_helper.cc | 241 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()
|
D | exceptions_helper.cc | 37 static void exceptionCB(jvmtiEnv* jvmti, in exceptionCB() 78 static void exceptionCatchCB(jvmtiEnv* jvmti, in exceptionCatchCB()
|
D | jvmti_helper.h | 93 template<typename T> T GetExtensionFunction(JNIEnv* env, jvmtiEnv* jvmti, const std::string_view& n… in GetExtensionFunction()
|
D | redefinition_helper.cc | 43 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()
|
D | frame_pop_helper.cc | 34 static void framePopCB(jvmtiEnv* jvmti, in framePopCB()
|
D | breakpoint_helper.cc | 37 extern "C" void breakpointCB(jvmtiEnv* jvmti, in breakpointCB()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 276 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/ |
D | titrace.cc | 27 #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/ |
D | ti_dump.cc | 75 jvmtiError DumpUtil::DumpInternalState(jvmtiEnv *jvmti, char **data) { in DumpInternalState()
|
/art/test/1962-multi-thread-events/ |
D | multi_thread_events.cc | 37 void cbMethodEntry(jvmtiEnv* jvmti, in cbMethodEntry()
|
/art/test/1959-redefine-object-instrument/ |
D | fake_redef_object.cc | 68 explicit JvmtiAllocator(jvmtiEnv* jvmti) : jvmti_(jvmti) {} in RedefineObjectHook()
|
/art/test/980-redefine-object/ |
D | redef_object.cc | 81 explicit JvmtiAllocator(jvmtiEnv* jvmti) : jvmti_(jvmti) {} in RedefineObjectHook()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 39 static void VMInitCB(jvmtiEnv* jvmti, JNIEnv* env, jthread thr ATTRIBUTE_UNUSED) { in VMInitCB() 354 jvmtiEnv* jvmti = nullptr; in AgentStart() local
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 114 static void JNICALL PublishCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jint type, jint size, jbyte* bytes) { in PublishCB()
|