The current GC is both inefficient and can have very long pause times.
The efficiency can be improved by tweaking thresholds or by using fewer generations (see #100403), but that does nothing to shorten pause times.
We should use an incremental collector, it can improve efficiency and hugely reduce maximum pause times.
See #100403 for more details on the general idea and the algorithm.
Linked PRs