chaosblade icon indicating copy to clipboard operation
chaosblade copied to clipboard

[feature] Optimize the java-agent mounting method

Open MandssS opened this issue 2 years ago • 1 comments

目前java agent挂载到业务应用进程,是需要通过jdk来实现,探寻一种新的方式来实现,降低对业务应用的影响

到时候会有社区member及以上同学参与,如对该feature感兴趣,欢迎大家在issue中评论,参与进来,一起共建社区


At present, the java agent is mounted to the business application process, which needs to be realized through jdk, and a new way is to be explored to reduce the impact on business applications

At that time, community members and above students will participate. If you are interested in this feature, you are welcome to comment in the issue, get involved, and build the community together

MandssS avatar Feb 09 '23 09:02 MandssS

It is true that agents can be mounted without the JDK; in fact, the JVM takes use of the Unix Domain Socket interprocess communication mechanism. Research before, I use the golang to write a small tool can directly attach agent jar to the target Java process without jdk, the tools is here : https://github.com/hengyoush/Java-Agent-Loader.

hengyoush avatar Jul 27 '23 12:07 hengyoush