| Index: src/spaces.cc
|
| diff --git a/src/spaces.cc b/src/spaces.cc
|
| index 2b933694b6a2c6f63f850b8cd0f019ec59e55708..f8de7e3d40dfb9f993317a064d2c53916aaa3d23 100644
|
| --- a/src/spaces.cc
|
| +++ b/src/spaces.cc
|
| @@ -839,7 +839,10 @@ void PagedSpace::Verify(ObjectVisitor* visitor) {
|
| ASSERT(object->address() + size <= top);
|
| end_of_previous_object = object->address() + size;
|
| }
|
| - ASSERT_LE(black_size, page->LiveBytes());
|
| +
|
| + if (!heap()->mark_compact_collector()->AreMarkbitsTainted()) {
|
| + ASSERT_LE(black_size, page->LiveBytes());
|
| + }
|
| }
|
| ASSERT(allocation_pointer_found_in_space);
|
| }
|
|
|