Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

JVM Notes 2

spencercjh edited this page Jan 8, 2020 · 1 revision

深入理解Java虚拟机 2nd Notes 2

第 3 章 垃圾收集器与内存分配策略

看了书以后能大致记住,核心都在这些图里了。

可达

reachable.png

reachable.png

垃圾收集算法

标记-清除 Mark-Sweep

mark-sweep.gif

mark-sweep.png

复制

coping.png

标记-整理

mark-compact.png

垃圾收集器

jvm command 查询 : https://chriswhocodes.com/hotspot_options_jdk13.html

Serial

Serial Old

ParNew

Parallel Scavenge

Parallel Old

CMS (Concurrent Mark Sweep)

parse 1 : parse1

parse 2 : parse2

parse 3 :

parse3-1

parse3-2

parse 4 : parse4

G1 (Garbage First)