[Update] commit

This commit is contained in:
xiaozhou233 committed 2025-11-05 21:03:01 +08:00
1 parent bf5a6b0804
commit 39fad40655
1 file changed
+1
+1
View File
@@ -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) {