In the Java platform, there are currently four supported garbage collection alternatives and all but one of them, the serial GC, parallelise the work to improve performance.
low-latency GC
operates mostly concurrently with application
a low-latency concurrent GC introduced in Java 11
default GC from Java 9 onwards
Uses multiple threads for minor collections
Uses single thread for major collection
ℹ️GC progress from JDK 8 to JDK 17arrow-up-right
Last updated 2 years ago