Y
Hacker News
new
|
ask
|
show
|
jobs
by
rurban
60 days ago
Apple should just stop using a silly mark & sweep collector. All the good collectors are copying, if you have enough memory. Only on tiny devices you need mark & sweep.
2 comments
pebal
60 days ago
That "good collector" has higher memory usage, has to pause mutator threads, and makes application code run slower. Thanks, but no thanks.
link
nasretdinov
60 days ago
Copying GC will make swap even less efficient, no?
link
rurban
60 days ago
A Copying GC will not interfere with swap, as it's reserving 2 fixed memory regions, not more. And no stop the world.
All the better systems use that for decades.
link