• Home
  • Raw
  • Download

Lines Matching refs:jvmti

75 …jni_fun(VMInit, EVENT(VM_INIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni, jthre…
76 jni_fun(VMDeath, EVENT(VM_DEATH), (jvmtiEnv* jvmti, JNIEnv* jni), (jvmti, jni)) \
77 …jni_fun(ThreadStart, EVENT(THREAD_START), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, …
78 …jni_fun(ThreadEnd, EVENT(THREAD_END), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni,…
79jvmti, JNIEnv* jni, jclass klass, jobject obj1, const char* c1, jobject obj2, jint i1, const unsi…
80 …ni_fun(ClassLoad, EVENT(CLASS_LOAD), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass),…
81 …(ClassPrepare, EVENT(CLASS_PREPARE), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass),…
82 jni_fun(VMStart, EVENT(VM_START), (jvmtiEnv* jvmti, JNIEnv* jni), (jvmti, jni)) \
83 …N), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth1, jlocation loc1, jobject obj, j…
84 …ENT(EXCEPTION_CATCH), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocation loc…
85 …leStep, EVENT(SINGLE_STEP), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocati…
86 …n(MethodEntry, EVENT(METHOD_ENTRY), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth)…
87 …it, EVENT(METHOD_EXIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb…
88 …ENT(NATIVE_METHOD_BIND), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, void* v1, …
89 …_LOAD), (jvmtiEnv* jvmti, jmethodID meth, jint i1, const void* cv1, jint i2, const jvmtiAddrLocati…
90 …hodUnload, EVENT(COMPILED_METHOD_UNLOAD), (jvmtiEnv* jvmti, jmethodID meth, const void* cv1), (jvm…
91 …rated, EVENT(DYNAMIC_CODE_GENERATED), (jvmtiEnv* jvmti, const char* cc, const void* cv, jint i1), …
92 non_jni_fun(DataDumpRequest, EVENT(DATA_DUMP_REQUEST), (jvmtiEnv* jvmti), (jvmti)) \
93 …nitorWait, EVENT(MONITOR_WAIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jlong …
94 …Waited, EVENT(MONITOR_WAITED), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jboolea…
95 …ter, EVENT(MONITOR_CONTENDED_ENTER), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj), …
96 …d, EVENT(MONITOR_CONTENDED_ENTERED), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj), …
97 …ed, EVENT(RESOURCE_EXHAUSTED), (jvmtiEnv* jvmti, JNIEnv* jni, jint i1, const void* cv, const char*…
98 … non_jni_fun(GarbageCollectionStart, EVENT(GARBAGE_COLLECTION_START), (jvmtiEnv* jvmti), (jvmti)) \
99 …on_jni_fun(GarbageCollectionFinish, EVENT(GARBAGE_COLLECTION_FINISH), (jvmtiEnv* jvmti), (jvmti)) \
100 … EVENT(VM_OBJECT_ALLOC), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jclass klass,…
324 template <typename ...Args> void PrintRestNoJNI(jvmtiEnv* jvmti, Args... args) { in PrintRestNoJNI() argument
325 PrintRest(jvmti, static_cast<JNIEnv*>(nullptr), args...); in PrintRestNoJNI()
328 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti, JNIEnv* env, Args... args);
329 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
333 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
337 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
341 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
345 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
349 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
353 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
357 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
361 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
365 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
369 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
373 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
377 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
381 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
385 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
389 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
393 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
410 template<> void LogPrinter::PrintRest(jvmtiEnv* jvmti ATTRIBUTE_UNUSED, JNIEnv* jni) { in PrintRest()
419 void LogPrinter::PrintRest(jvmtiEnv* jvmti, in PrintRest() argument
429 PrintRest(jvmti, jni, args...); in PrintRest()
433 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint* v, Args... args) { in PrintRest() argument
435 PrintRest(jvmti, jni, args...); in PrintRest()
439 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const void* v, Args... args) { in PrintRest() argument
441 PrintRest(jvmti, jni, args...); in PrintRest()
445 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, unsigned char** v, Args... args) { in PrintRest() argument
447 PrintRest(jvmti, jni, args...); in PrintRest()
451 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const unsigned char* v, Args... args) { in PrintRest() argument
453 PrintRest(jvmti, jni, args...); in PrintRest()
457 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const char* v, Args... args) { in PrintRest() argument
459 PrintRest(jvmti, jni, args...); in PrintRest()
463 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jvalue v, Args... args) { in PrintRest() argument
482 PrintRest(jvmti, jni, args...); in PrintRest()
486 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void** v, Args... args) { in PrintRest() argument
488 PrintRest(jvmti, jni, args...); in PrintRest()
492 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void* v, Args... args) { in PrintRest() argument
494 PrintRest(jvmti, jni, args...); in PrintRest()
498 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jlongContainer l, Args... args) { in PrintRest() argument
500 PrintRest(jvmti, jni, args...); in PrintRest()
504 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jlocation l, Args... args) { in PrintRest() argument
506 PrintRest(jvmti, jni, args...); in PrintRest()
510 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jboolean b, Args... args) { in PrintRest() argument
512 PrintRest(jvmti, jni, args...); in PrintRest()
516 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint i, Args... args) { in PrintRest() argument
518 PrintRest(jvmti, jni, args...); in PrintRest()
522 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jobject obj, Args... args) { in PrintRest() argument
528 ScopedClassInfo sci(jvmti, klass); in PrintRest()
536 PrintRest(jvmti, jni, args...); in PrintRest()
540 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jthreadContainer thr, Args... args) { in PrintRest() argument
541 ScopedThreadInfo sti(jvmti, jni, thr.thread); in PrintRest()
543 PrintRest(jvmti, jni, args...); in PrintRest()
547 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jclass klass, Args... args) { in PrintRest() argument
548 ScopedClassInfo sci(jvmti, klass); in PrintRest()
554 PrintRest(jvmti, jni, args...); in PrintRest()
558 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jmethodID meth, Args... args) { in PrintRest() argument
559 ScopedMethodInfo smi(jvmti, jni, meth); in PrintRest()
565 PrintRest(jvmti, jni, args...); in PrintRest()
616 static std::vector<jvmtiEvent> GetAllAvailableEvents(jvmtiEnv* jvmti) { in GetAllAvailableEvents() argument
619 jvmti->GetPotentialCapabilities(&caps); in GetAllAvailableEvents()
643 static std::vector<jvmtiEvent> GetRequestedEventList(jvmtiEnv* jvmti, const std::string& args) { in GetRequestedEventList() argument
651 return GetAllAvailableEvents(jvmti); in GetRequestedEventList()
658 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv() argument
660 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
662 if (res != JNI_OK || *jvmti == nullptr) { in SetupJvmtiEnv()
664 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
674 jvmtiEnv* jvmti = nullptr; in AgentStart() local
676 if (SetupJvmtiEnv(vm, &jvmti) != JNI_OK) { in AgentStart()
687 std::vector<jvmtiEvent> events = GetRequestedEventList(jvmti, args); in AgentStart()
698 error = jvmti->AddCapabilities(&caps); in AgentStart()
705 error = jvmti->SetEventCallbacks(&kLogCallbacks, static_cast<jint>(sizeof(kLogCallbacks))); in AgentStart()
707 error = jvmti->SetEventCallbacks(&kEmptyCallbacks, static_cast<jint>(sizeof(kEmptyCallbacks))); in AgentStart()
714 error = jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()