Filter out remembered slots that are at the start of an object.
authorhpayer <hpayer@chromium.org>
Mon, 6 Apr 2015 14:58:06 +0000 (07:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Apr 2015 14:58:16 +0000 (14:58 +0000)
commit189b355a76ea5a26fba18e712f4849f0435e856b
tree5ef4dce8440c92ef0ef04201b21e30cdf564f288
parent4b5af7b32ec97fd127b4bf9e2b3cb4ec6f0d3c2e
Filter out remembered slots that are at the start of an object.

These slots are invalid and can result in a broken offset when slot index and start of object are equal and are at the beginning of a cell.

Moreover, make DCHECKs CHECKs to catch bugs in the wild.

BUG=chromium:473174
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#27602}
src/heap/mark-compact.cc