Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rurban
· 1mo ago · 0 comments
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.
Comments
[–]
pebal
1mo ago
That "good collector" has higher memory usage, has to pause mutator threads, and makes application code run slower. Thanks, but no thanks.
[–]
nasretdinov
1mo ago
Copying GC will make swap even less efficient, no?
[–]
rurban
OP
1mo 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.