From 39fad406559f892f8e19ed93933842ea2a54c933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E5=91=A8XiaoZhou?= Date: Wed, 5 Nov 2025 21:03:01 +0800 Subject: [PATCH] [Update] commit --- src/agent/libagent.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent/libagent.c b/src/agent/libagent.c index ef609e6..af5266f 100644 --- a/src/agent/libagent.c +++ b/src/agent/libagent.c @@ -312,6 +312,7 @@ static void JNICALL vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) { /// Example: java -agentpath:./libagent.dll=./config -jar myapp.jar /// =========================================================== /// +// WARN: This inject method maybe not work on some JVMs. // Notice: This function is called by the JVM when the agent is loaded. // Warning: JVM not initialized yet when this function is called. JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {