mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
[Update] commit
This commit is contained in:
1 parent
bf5a6b0804
commit
39fad40655
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user