Diff of /tools/bootImageRunner/org_jikesrvm_runtime_jvmti_JVMTIEventTrampoline.c [4db4e9] .. [ed0191] Maximize Restore

  Switch to side-by-side view

--- a/tools/bootImageRunner/org_jikesrvm_runtime_jvmti_JVMTIEventTrampoline.c
+++ b/tools/bootImageRunner/org_jikesrvm_runtime_jvmti_JVMTIEventTrampoline.c
@@ -25,6 +25,21 @@
 extern struct JavaVM_ sysJavaVM;
 
 typedef jint (*Agent_OnLoad)(JavaVM_ *vm, const char *options, void *reserved);
+typedef void (*AgentThread_Run)(jvmtiEnv *jvmti_env, JNIEnv *jni_env, void *arg);
+
+/*
+ * Class:     org_jikesrvm_runtime_jvmti_JVMTIEventTrampoline
+ * Method:    AgentThread_Run
+ * Signature: (Lorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Word;)V
+ */
+extern "C" JNIEXPORT void JNICALL
+Java_org_jikesrvm_runtime_jvmti_JVMTIEventTrampoline_AgentThread_1Run (JNIEnv *jni_env,
+                                                              jclass clazz,
+                                                              jobject proc,
+                                                              jobject JVMTIEnvAddress,
+                                                              jobject arg) {
+  ((AgentThread_Run) proc)((jvmtiEnv *)JVMTIEnvAddress, jni_env, (void *)arg);
+}
 
 /*
  * Class:     org_jikesrvm_runtime_JVMTIAgent