Commit 849d6b45 authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Preallocate ArrayBufferTracker for new space pages

BUG=chromium:619491
LOG=N

Review-Url: https://codereview.chromium.org/2076093002
Cr-Commit-Position: refs/heads/master@{#37063}
parent eaafd900
...@@ -260,6 +260,7 @@ Page* Page::Initialize(Heap* heap, MemoryChunk* chunk, Executability executable, ...@@ -260,6 +260,7 @@ Page* Page::Initialize(Heap* heap, MemoryChunk* chunk, Executability executable,
: MemoryChunk::IN_TO_SPACE)); : MemoryChunk::IN_TO_SPACE));
Page* page = static_cast<Page*>(chunk); Page* page = static_cast<Page*>(chunk);
heap->incremental_marking()->SetNewSpacePageFlags(page); heap->incremental_marking()->SetNewSpacePageFlags(page);
page->AllocateLocalTracker();
return page; return page;
} }
......
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