diff options
Diffstat (limited to 'runtime/gc/heap.cc')
-rw-r--r-- | runtime/gc/heap.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc index 645e28fe56..2accee799e 100644 --- a/runtime/gc/heap.cc +++ b/runtime/gc/heap.cc @@ -4187,11 +4187,6 @@ mirror::Object* Heap::AllocWithNewTLAB(Thread* self, return nullptr; } *bytes_tl_bulk_allocated = expand_bytes; - // Zero the TLAB pages as we MADV_FREE the regions in CC, which doesn't - // guarantee clean pages. - if (allocator_type == kAllocatorTypeRegionTLAB) { - region_space_->ZeroAllocRange(self->GetTlabEnd(), expand_bytes); - } self->ExpandTlab(expand_bytes); DCHECK_LE(alloc_size, self->TlabSize()); } else if (allocator_type == kAllocatorTypeTLAB) { |