| Index: src/heap/spaces-inl.h
|
| diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h
|
| index 0fd69dacfebd7b93b269bd9b093b53e39bca4866..1ee0f0bf910d095386ec79b4519645a8a4f274aa 100644
|
| --- a/src/heap/spaces-inl.h
|
| +++ b/src/heap/spaces-inl.h
|
| @@ -33,6 +33,7 @@
|
| Page::FromAllocationAreaAddress(limit)->next_page()) {
|
| SemiSpace::AssertValidRange(start, limit);
|
| }
|
| +
|
|
|
| // -----------------------------------------------------------------------------
|
| // SemiSpaceIterator
|
| @@ -241,6 +242,7 @@
|
| }
|
|
|
| void MemoryChunk::IncrementLiveBytes(int by) {
|
| + if (IsFlagSet(BLACK_PAGE)) return;
|
| if (FLAG_trace_live_bytes) {
|
| PrintIsolate(
|
| heap()->isolate(), "live-bytes: update page=%p delta=%d %d->%d\n",
|
| @@ -441,12 +443,6 @@
|
| object = free_list_.Allocate(size_in_bytes);
|
| if (object == NULL) {
|
| object = SlowAllocateRaw(size_in_bytes);
|
| - }
|
| - if (object != NULL) {
|
| - if (heap()->incremental_marking()->black_allocation()) {
|
| - Marking::MarkBlack(ObjectMarking::MarkBitFrom(object));
|
| - MemoryChunk::IncrementLiveBytesFromGC(object, size_in_bytes);
|
| - }
|
| }
|
| }
|
|
|
|
|