Configuration: https://zhuanlan.zhihu.com/p/56110317
Use: https://www.cnblogs.com/kira2will/p/11312822.html
Well written, record it
Glossary:
- Incomming References : Objects that refer to the current object, that is, incoming references
- Outgoing References : The object referenced by the current object, that is, the outgoing reference
- Shallow Heap : Shallow heap, the memory size occupied by an object structure
- Retained Heap : deep heap, the size of memory that can be actually released after an object is reclaimed by GC
- Retained Set : The retained set of object A refers to all object collections that can be released after object A is garbage collected (including object A itself)
- Dominator Tree : All paths pointing to object B pass through object A, then object A is considered to dominate object B
In the object dominator tree, the subtree of an object represents a collection of objects that will also be recycled after the object is recycled.