1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Update jvm-garbage-collection.md 标点调整与内容更新

修改了错误使用的中文冒号;更新默认使用G1的JDK范围至JDK22
This commit is contained in:
DAI LILONG 2024-09-04 16:53:47 +08:00 committed by GitHub
parent 42c70053ee
commit 3c6e434d46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -367,8 +367,8 @@ JDK1.2 以后Java 对引用的概念进行了扩充,将引用分为强引
JDK 默认垃圾收集器(使用 `java -XX:+PrintCommandLineFlags -version` 命令查看): JDK 默认垃圾收集器(使用 `java -XX:+PrintCommandLineFlags -version` 命令查看):
- JDK 8Parallel Scavenge新生代+ Parallel Old老年代 - JDK 8: Parallel Scavenge新生代+ Parallel Old老年代
- JDK 9 ~ JDK20: G1 - JDK 9 ~ JDK22: G1
### Serial 收集器 ### Serial 收集器