This repository has been archived as of June 2026. If you wish to update or extend this project, please create a fork. jcha is a tool to analyse Java class histograms, focused on histogram comparison.
3. 核心分析路径:从 Histogram 到支配树 3.1 Histogram 看类,Dominator Tree 看持有关系 打开 dump 后,工具栏上最常用的两个视图是 Histogram 和 Dominator Tree。 Histogram 按类聚合,告诉你 byte [] 占了 1.8G、 java.lang.String 占了 400M,但它不告诉你这些对象被谁引用着。
This repository currently includes a Java implementation of HdrHistogram. C, C#/.NET, Python, Javascript, Rust, Erlang, and Go ports can be found in other repositories. All of which share common ...
Shallow Heap表示对象本身占用内存的大小,不包含对其他对象的引用,也就是对象头加成员变量(不是成员变量的值)的总和。 Retained Heap是该对象自己的Shallow Heap,并加上从该对象能直接或间接 ...