Add checks to the marking queue
authorjochen <jochen@chromium.org>
Fri, 16 Jan 2015 10:39:16 +0000 (02:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 10:39:25 +0000 (10:39 +0000)
commitb54f00fc8e20d3f1b34273c65f7509559e7fdd89
tree0da03dff0b3803710619e5ebe7d51a718e73a8c3
parent859a676a105a59748351e1a1b55f9306bd787e09
Add checks to the marking queue

Hopefully we'll catch heap corruption earlier where identifying the
object that holds a stale pointer.

Speaking of staleness, also remove old debugging code.

BUG=chromium:128415
R=ulan@chromium.org,hpayer@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#26095}
src/heap/incremental-marking.cc
src/heap/mark-compact.h
test/cctest/cctest.status