Re:Low-Latency, High-Throughput Garbage Collection [pdf]
by adgjlsfhk1 on Wednesday April 27, 2022 @12:41AM
(#31176382)
The whole point of generational GC is that that your pause times don't grow with the old objects. I think concurrent sweep makes a lot of sense (it's basically free), but concurrent mark has major performance compromises. It's not just the longer barrier, it also adds an extra indirection to all your memory accesses. Full concurrent may be right for some use cases (where you *need* very low pause times), but it comes at a considerable cost.
[ Parent
| on HN ]
Re:Low-Latency, High-Throughput Garbage Collection [pdf]
by kaba0 on Wednesday April 27, 2022 @06:33AM
(#31178299)
I don’t think that generational GC can totally decouple pause times from heap size in the worst case, which is what is important for latency-oriented workloads.
Re:Low-Latency, High-Throughput Garbage Collection [pdf]
by adgjlsfhk1 on Wednesday April 27, 2022 @12:17PM
(#31181920)
For stuff like games, it probably does it well enough. If you drop a frame every minute, that's not a major problem.