Unloading a JVMTI agent at runtime?

前端 未结 2 1699
刺人心
刺人心 2020-12-16 19:44

I\'m using the attach API to load a JVMTI agent at runtime. I\'d like to unload the JVMTI agent when my program is done without terminating the JVM the agent is loaded in. A

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 20:18

    JVMTI spec says unloading (without JVM termination) is possible, but platform-dependent and out of specification's scope.

提交回复
热议问题