• Home
  • Raw
  • Download

Lines Matching refs:jvmti

75 …leStep, EVENT(SINGLE_STEP), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocati…
76 …n(MethodEntry, EVENT(METHOD_ENTRY), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth)…
77 …it, EVENT(METHOD_EXIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb…
78 …ENT(NATIVE_METHOD_BIND), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, void* v1, …
79 …N), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth1, jlocation loc1, jobject obj, j…
80 …ENT(EXCEPTION_CATCH), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocation loc…
81 …fun(ThreadStart, EVENT(THREAD_START), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni,…
82 …fun(ThreadEnd, EVENT(THREAD_END), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni, jth…
83 …fun(ClassLoad, EVENT(CLASS_LOAD), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass), (j…
84 …(ClassPrepare, EVENT(CLASS_PREPARE), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass),…
85jvmti, JNIEnv* jni, jclass klass, jobject obj1, const char* c1, jobject obj2, jint i1, const unsi…
86 …ter, EVENT(MONITOR_CONTENDED_ENTER), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj), …
87 …d, EVENT(MONITOR_CONTENDED_ENTERED), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj), …
88 …nitorWait, EVENT(MONITOR_WAIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jlong …
89 …Waited, EVENT(MONITOR_WAITED), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jboolea…
90 …ed, EVENT(RESOURCE_EXHAUSTED), (jvmtiEnv* jvmti, JNIEnv* jni, jint i1, const void* cv, const char*…
91 … EVENT(VM_OBJECT_ALLOC), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jobject obj, jclass klass,…
92 …fun(VMInit, EVENT(VM_INIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni, jthreadCo…
93 fun(VMStart, EVENT(VM_START), (jvmtiEnv* jvmti, JNIEnv* jni), (jvmti, jni)) \
94 fun(VMDeath, EVENT(VM_DEATH), (jvmtiEnv* jvmti, JNIEnv* jni), (jvmti, jni)) \
97 …_LOAD), (jvmtiEnv* jvmti, jmethodID meth, jint i1, const void* cv1, jint i2, const jvmtiAddrLocati…
98 …hodUnload, EVENT(COMPILED_METHOD_UNLOAD), (jvmtiEnv* jvmti, jmethodID meth, const void* cv1), (jvm…
99 …rated, EVENT(DYNAMIC_CODE_GENERATED), (jvmtiEnv* jvmti, const char* cc, const void* cv, jint i1), …
100 fun(DataDumpRequest, EVENT(DATA_DUMP_REQUEST), (jvmtiEnv* jvmti), (jvmti)) \
101 fun(GarbageCollectionStart, EVENT(GARBAGE_COLLECTION_START), (jvmtiEnv* jvmti), (jvmti)) \
102 fun(GarbageCollectionFinish, EVENT(GARBAGE_COLLECTION_FINISH), (jvmtiEnv* jvmti), (jvmti))
327 template <typename ...Args> void PrintRestNoJNI(jvmtiEnv* jvmti, Args... args) { in PrintRestNoJNI() argument
328 PrintRest(jvmti, static_cast<JNIEnv*>(nullptr), args...); in PrintRestNoJNI()
331 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti, JNIEnv* env, Args... args);
332 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
336 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
340 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
344 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
348 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
352 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
356 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
360 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
364 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
368 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
372 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
376 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
380 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
384 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
388 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
392 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
396 template <typename ...Args> void PrintRest(jvmtiEnv* jvmti,
413 template<> void LogPrinter::PrintRest(jvmtiEnv* jvmti ATTRIBUTE_UNUSED, JNIEnv* jni) { in PrintRest()
422 void LogPrinter::PrintRest(jvmtiEnv* jvmti, in PrintRest() argument
432 PrintRest(jvmti, jni, args...); in PrintRest()
436 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint* v, Args... args) { in PrintRest() argument
438 PrintRest(jvmti, jni, args...); in PrintRest()
442 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const void* v, Args... args) { in PrintRest() argument
444 PrintRest(jvmti, jni, args...); in PrintRest()
448 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, unsigned char** v, Args... args) { in PrintRest() argument
450 PrintRest(jvmti, jni, args...); in PrintRest()
454 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const unsigned char* v, Args... args) { in PrintRest() argument
456 PrintRest(jvmti, jni, args...); in PrintRest()
460 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, const char* v, Args... args) { in PrintRest() argument
462 PrintRest(jvmti, jni, args...); in PrintRest()
466 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jvalue v, Args... args) { in PrintRest() argument
485 PrintRest(jvmti, jni, args...); in PrintRest()
489 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void** v, Args... args) { in PrintRest() argument
491 PrintRest(jvmti, jni, args...); in PrintRest()
495 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, void* v, Args... args) { in PrintRest() argument
497 PrintRest(jvmti, jni, args...); in PrintRest()
501 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jlongContainer l, Args... args) { in PrintRest() argument
503 PrintRest(jvmti, jni, args...); in PrintRest()
507 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jlocation l, Args... args) { in PrintRest() argument
509 PrintRest(jvmti, jni, args...); in PrintRest()
513 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jboolean b, Args... args) { in PrintRest() argument
515 PrintRest(jvmti, jni, args...); in PrintRest()
519 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint i, Args... args) { in PrintRest() argument
521 PrintRest(jvmti, jni, args...); in PrintRest()
525 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jobject obj, Args... args) { in PrintRest() argument
531 ScopedClassInfo sci(jvmti, klass); in PrintRest()
539 PrintRest(jvmti, jni, args...); in PrintRest()
543 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jthreadContainer thr, Args... args) { in PrintRest() argument
544 ScopedThreadInfo sti(jvmti, jni, thr.thread); in PrintRest()
546 PrintRest(jvmti, jni, args...); in PrintRest()
550 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jclass klass, Args... args) { in PrintRest() argument
551 ScopedClassInfo sci(jvmti, klass); in PrintRest()
557 PrintRest(jvmti, jni, args...); in PrintRest()
561 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jmethodID meth, Args... args) { in PrintRest() argument
562 ScopedMethodInfo smi(jvmti, jni, meth); in PrintRest()
568 PrintRest(jvmti, jni, args...); in PrintRest()
621 static std::vector<jvmtiEvent> GetAllAvailableEvents(jvmtiEnv* jvmti) { in GetAllAvailableEvents() argument
624 jvmti->GetPotentialCapabilities(&caps); in GetAllAvailableEvents()
648 static std::vector<jvmtiEvent> GetRequestedEventList(jvmtiEnv* jvmti, const std::string& args) { in GetRequestedEventList() argument
656 return GetAllAvailableEvents(jvmti); in GetRequestedEventList()
663 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv() argument
665 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
667 if (res != JNI_OK || *jvmti == nullptr) { in SetupJvmtiEnv()
669 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
679 jvmtiEnv* jvmti = nullptr; in AgentStart() local
681 if (SetupJvmtiEnv(vm, &jvmti) != JNI_OK) { in AgentStart()
692 std::vector<jvmtiEvent> events = GetRequestedEventList(jvmti, args); in AgentStart()
703 error = jvmti->AddCapabilities(&caps); in AgentStart()
710 error = jvmti->SetEventCallbacks(&kLogCallbacks, static_cast<jint>(sizeof(kLogCallbacks))); in AgentStart()
712 error = jvmti->SetEventCallbacks(&kEmptyCallbacks, static_cast<jint>(sizeof(kEmptyCallbacks))); in AgentStart()
719 error = jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()