4 ms·
They are not. All Java GC introduce pauses, only short ones. SGCL for C++ is a true pauseless GC.
by pebal 2y ago
They are not. All Java GC introduce pauses, only short ones. SGCL for C++ is a true pauseless GC.
- mike_hearn 2y agoIt depends how you define "pause" but no, modern GCs like ZGC and Shenandoah are universally agreed to be pauseless. The work done at the start/end of a GC is fixed time regardless of heap size and takes less than a millisecond. At that speed other latencies on your system are going to dominate GC unless you're on a hard RTOS like QNX.