Status: Accepted
Owner: [email protected]
CC: [email protected],  erik.corry,  [email protected]
Labels: Type-Bug Priority-Medium NewGC

New issue 2194 by [email protected]: Remove eager sweeping for lazy swept spaces.
http://code.google.com/p/v8/issues/detail?id=2194

The heuristics in SweepSpace as far too inaccurate to be used as an indicator how much should be swept eagerly. We should completely remove them and sweep no (or just one) page eagerly.

For this to be feasible we need to make AdvanceSweeper "smarter" so that it actually sweeps a page that contains enough contiguous to hold the request amount of memory.

Currently it sweeps until it accumulated enough free bytes, but those bytes are not guaranteed to be contiguous or even on the same page. This leads to excessive expansion of old-space, because new pages are added too soon.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to