JVM 相关¶ ClassLoader 双亲委派 为什么使用双亲委派? 查找已加载的类 类加载流程 JVM 运行时数据区域 0.概述 1.The PC Register 2.JVM Stacks 3.Native Method stacks 4.Heap 5.Methods Area 6.Run-Time Constant Pool Class 文件结构 概览 魔数 版本 常量池 访问标记 当前类 父类 接口 字段 方法 属性 垃圾收集与内存非配策略 0.对象已死? 1.垃圾收集算法 2.HotSpot 的算法细节 垃圾收集器概述 常见 GC 查看当前 GC 串行收集器 并行收集器 CMS(Concurrent Mark Sweep) G1 ZGC 参考 JDK 工具 编译 反编译 进程启动 远程调试 JVM 参数 进程查看 线程查看 线程快照 内存快照 运行时配置信息 运行时内存统计 全能的 jhsdb 和 jcmd GC 日志 PrintGCDetails PrintGCDateStamps PrintTenuringDistribution PrintHeapAtGC PrintReferenceGC PrintGCApplicationStoppedTime GC 文件 前端编译¶ 问题诊断¶