Commit d7c86de8 authored by Hannes Payer's avatar Hannes Payer Committed by Commit Bot

[heap] Remove obsolete owner field initialization code.

Change-Id: I66426ab06f8cc3f138a9cdd60063a3da1dc4a954
Reviewed-on: https://chromium-review.googlesource.com/1123824Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54163}
parent 8e39af62
......@@ -720,13 +720,6 @@ LargePage* LargePage::Initialize(Heap* heap, MemoryChunk* chunk,
MSAN_ALLOCATED_UNINITIALIZED_MEMORY(chunk->area_start(), chunk->area_size());
// Initialize the owner field for each contained page (except the first, which
// is initialized by MemoryChunk::Initialize).
for (Address addr = chunk->address() + Page::kPageSize + Page::kOwnerOffset;
addr < chunk->area_end(); addr += Page::kPageSize) {
// Clear out kPageHeaderTag.
Memory::Address_at(addr) = 0;
}
LargePage* page = static_cast<LargePage*>(chunk);
page->list_node().Initialize();
page->InitializationMemoryFence();
......
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