Commit d1e56760 authored by hpayer's avatar hpayer Committed by Commit bot

[heap] Add debug code for investigating store buffer crasher.

BUG=chromium:673308

Review-Url: https://codereview.chromium.org/2677163002
Cr-Commit-Position: refs/heads/master@{#42962}
parent 54a14005
......@@ -101,7 +101,10 @@ void StoreBuffer::MoveEntriesToRememberedSet(int index) {
DCHECK_LT(index, kStoreBuffers);
for (Address* current = start_[index]; current < lazy_top_[index];
current++) {
DCHECK(!heap_->code_space()->Contains(*current));
CHECK(!heap_->code_space()->Contains(*current));
CHECK(heap_->old_space()->Contains(*current) ||
heap_->map_space()->Contains(*current) ||
heap_->lo_space()->ContainsSlow(*current));
Address addr = *current;
Page* page = Page::FromAnyPointerAddress(heap_, addr);
if (IsDeletionAddress(addr)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment