Fix free list node ending up on evacuation candidate.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Oct 2011 16:50:58 +0000 (16:50 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Oct 2011 16:50:58 +0000 (16:50 +0000)
commit554a12fbbc39f5d4a96df3f363c332b3abde14f2
tree62ef7a05cb90cbb6052bbbfbed932c9c7bc208b6
parent312c534a6c6aa6dcaa3ab87fe43dd0b77be15054
Fix free list node ending up on evacuation candidate.

This is a temporary fix which avoids compaction when incremental marking
is restarted during an old-space-step. That could turn the page that
holds the chosen free list node into an evacuation candidate. It could
also cause several other inconsistencies if it happens during scavenge.

R=vegorov@chromium.org

Review URL: http://codereview.chromium.org/8228010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9585 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/incremental-marking.cc
src/incremental-marking.h
src/spaces.cc