Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It doesn't matter. The GC does not know what heap allocations are in memory vs swap, and since you don't write applications thinking about that, running a VM with a moving GC on swap is a bad idea.


A moving GC can make sure to separate hot and cold data, and then rely on the kernel to keep hot data in RAM.


Yeah but in practice I'm not sure that really works well with any GCs today? Ive tried this with modern JVM and Node vms, it always ended up with random multi second lockups. Not worth the time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: