Go to the source code of this file.
|
void | printjvmtierror (char *desc, jvmtiError err) |
|
static void | notify (JNIEnv *jni_env, jobject event) |
|
static void | ThreadStart (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread) |
|
static void | ThreadEnd (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread) |
|
static void | ClassPrepare (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread, jclass klass) |
|
static void | Exception (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread, jmethodID method, jlocation location, jobject exception, jmethodID catch_method, jlocation catch_location) |
|
static void | Breakpoint (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread, jmethodID method, jlocation location) |
|
static void | MethodEntry (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread, jmethodID method) |
|
static void | VMDeath (jvmtiEnv *jvmti_env, JNIEnv *jni_env) |
|
static void | setup_jdwp_thread (JNIEnv *jni_env) |
|
static void | fillidcache (JNIEnv *jni_env) |
|
static void | VMInit (jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread) |
|
static void | usage () |
|
static bool | processoptions (char *options) |
|
JNIEXPORT jint JNICALL | Agent_OnLoad (JavaVM *vm, char *options, void *reserved) |
|
#define FINDCLASSWITHEXCEPTION |
( |
|
CLASS, |
|
|
|
SIGNATURE |
|
) |
| |
Value:CLASS = (*jni_env)->FindClass(
jni_env, SIGNATURE); \
if ((*jni_env)->ExceptionOccurred(
jni_env) != NULL) { \
fprintf(stderr,"could not find %s\n", SIGNATURE); \
(*jni_env)->ExceptionDescribe(
jni_env); \
exit(1); \
}
Definition at line 264 of file VMjdwp.cpp.
#define GETMIDWITHEXCEPTION |
( |
|
CLASS, |
|
|
|
CLASSNAME, |
|
|
|
MID, |
|
|
|
METHODNAME, |
|
|
|
METHODSIG |
|
) |
| |
Value:
MID = (*jni_env)->GetMethodID(
jni_env, CLASS, METHODNAME, METHODSIG); \
if ((*jni_env)->ExceptionOccurred(
jni_env) != NULL) { \
fprintf(stderr,"could not get %s %s\n",CLASSNAME, METHODNAME); \
(*jni_env)->ExceptionDescribe(
jni_env); \
exit(1); \
}
#define FINDCLASSWITHEXCEPTION(CLASS, SIGNATURE)
Definition at line 271 of file VMjdwp.cpp.
JNIEXPORT jint JNICALL Agent_OnLoad |
( |
JavaVM * |
vm, |
|
|
char * |
options, |
|
|
void * |
reserved |
|
) |
| |
static bool processoptions |
( |
char * |
options | ) |
|
|
static |
jmethodID classpreparemid |
|
static |