Hacker News new | ask | show | jobs
by jlebar 5196 days ago
> So if slimming down FF will make my disk trash more, > that's the wrong direction to take.

We explicitly don't want to cause this.

When we reduce the number of nodes in the live object graph, our garbage collector and cycle collector run faster. This results in shorter stop-the-world pauses when we collect.

This isn't the only thing we've done as part of MemShrink, of course, but it's an example of how reducing memory usage and running faster aren't always at odds with each other.

1 comments

I'll repost nnethercote's article on the consequences of memory reductions, it's a classic: https://blog.mozilla.com/nnethercote/2012/02/08/the-benefits...