News for hackers. Stuff that matters.
Re:Conservative GC: Is It Really That Bad? by munificent on Thursday February 22, 2018 @01:22PM (#16439897)
I'm no expert either, but some of the literature I've read says that copying GCs aren't a panacea when it comes to improving locality. For some object graphs, they help, for others they actually reorder the objects in ways that make locality worse.

Consider, for example, a copying GC that copies using a depth-first traversal of the object graph and then running it over a tree that your program always processes in breadth-first order.

There are no comments on this comment yet.