Skip to content

Commit b034871

Browse files
committed
update jvm notes
1 parent f56b0e3 commit b034871

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Notes/jvm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ JAVA中可作为GC Roots的对象包括:
3838

3939
##### **old generation**
4040
1. Concurrent Mark Sweep(mark-sweep as title):部分 stop the world,多线程收集
41+
优点:并发搜集,低停顿
42+
缺点:对CPU资源敏感, 无法处理浮动垃圾(Floating Garbage),收集结束会产生大量的碎片
4143
2. Serial Old(mark-compact): stop the world,单线程收集,CMS备选方案,GC日志关键字:Tenured
4244
3. Parallel Old(mark-compact):stop the world,多线程收集,只能和Parallel Scavenge组合使用,GC日志关键字:ParOldGen
4345

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy