java程序动态输出加载的类清单 -verbose:class 如何查看应用加载了哪些类

已邀请:

  -verbose:class   

查看加载了哪些类

jcmd <pid> GC.class_histogram

jmap -histo <pid>

要回复问题请先登录注册