Move the management of the already swept pages to MarkCompactCollector
authorjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Jan 2014 11:41:18 +0000 (11:41 +0000)
committerjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Jan 2014 11:41:18 +0000 (11:41 +0000)
commit6b1ae170b979a83186d02af763737f4fde6182f8
tree5b2282953d56097b70ebfb4c2fe47cb4fa5ec7ac
parent342b534e7e953d6895d0d41d12740994a9f657ea
Move the management of the already swept pages to MarkCompactCollector

That way, MCC doesn't need to know about the state the threads are in to
steal free memory from them.

BUG=v8:3104
R=hpayer@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/143283002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/mark-compact.cc
src/mark-compact.h
src/spaces.h
src/sweeper-thread.cc
src/sweeper-thread.h