起源
最近用arthas,查看jvm进程加载了什么类,arthas是用sc命令,输出
然后想探究它的原理,后面看它的源码是利用了 Instrumentation#getAllLoadedClasses 获取jvm加载的class