Modern Garbage Collectors in Java
Modern Garbage Collectors in Java
Key features:
• Mixed GC phases: collects both young and old regions in one GC cycle
• Concurrent marking to reduce pause times
• Predictable pause time goals (-XX:MaxGCPauseMillis)
Key features:
• Introduced in Java 11
• A no-op GC that allocates memory but never collects it
• Useful for performance testing and benchmarking, or workloads where you want to
manage memory yourself or expect the process to restart before GC