3 ms·
> I can only think of giving the kernel the ability to force cleanup in low memory situations as a positive and for that you probably wouldn't have to put the e
by mirekrusin 5y ago
> I can only think of giving the kernel the ability to force cleanup in low memory situations as a positive and for that you probably wouldn't have to put the entire GC into the kernel.
...but isn't "low memory situation" the only situation when you'd have to actually do it in the first place (at least thoroughly/more expensively but bail once enough reclaimed)?
- dragontamer 5y ago> ...but isn't "low memory situation" the only situation when you'd have to actually do it in the first place Only in a throughput based collector. This here is a latency-optimized collector. It wants to run many, many small cleanups so that the main-application thread continues forward with the smallest amount of delay. Big cleanups require bigger delays.
- mirekrusin 5y agoYes, makes sense.