Alice52 / java-ocean

java-tutorial .We intend to explain Java knowledge in this repository.
MIT License
0 stars 0 forks source link

[arthas] 实现原理 #250

Open Alice52 opened 2 years ago

Alice52 commented 2 years ago

arthas

  1. 是基于 JDK instrument{提供了对jvm底层组件访问的能力}, 通过 ASM 等字节码增强计数来实现 增强和热替

issue list

  1. 应用目标进程如何实现 Arthas 的代码加载
    • ClassLoader + ASM + Agent
  2. Arthas是如何做到无侵入的{实现隔离}
    • 双亲委派机制
  3. 应用与arthas又是如何进行代码相互调用的

use case

  1. https://github.com/alibaba/arthas/labels/user-case

reference

  1. https://yeas.fun/archives/arthas-classloader
  2. arthas-调优
  3. arthas-使用