Garbage Collectors
Last updated
Was this helpful?
Last updated
Was this helpful?
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