-XX:MaxTenuringThreshold
옵션으로 이 연령 한계를 설정 가능5번 GC
1~4 GC들
Young | GC 알고리즘 | Old (mark-sweep-compact) |
---|---|---|
single thread | Serial | single thread |
multi thread | Parallel | single thread |
multi thread | Parallel Compacting | multi thread |
multi thread | Concurrent Mark-Sweep | CMS(multi thread) |
아마 multi thread..? | G1 | CMS와 유사(SATB, Copy 단계) |