Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 6754:8fbf05030e24
7016955: G1: remove the is_zeroed parameter from the HeapRegion constructor
Summary: The is_zeroed parameter is no longer used and so can be removed.
Reviewed-by: johnc, jmasa, brutisso
Contributed-by: Brandon Mitchell <brandon@twitter.com>
author | johnc |
---|---|
date | Wed, 19 Sep 2012 08:48:10 -0700 |
parents | 9646b7ff4d14 |
children | bc675e55b48c |
comparison
equal
deleted
inserted
replaced
6753:8da5e203b993 | 6754:8fbf05030e24 |
---|---|
6421 HeapWord* bottom) { | 6421 HeapWord* bottom) { |
6422 HeapWord* end = bottom + HeapRegion::GrainWords; | 6422 HeapWord* end = bottom + HeapRegion::GrainWords; |
6423 MemRegion mr(bottom, end); | 6423 MemRegion mr(bottom, end); |
6424 assert(_g1_reserved.contains(mr), "invariant"); | 6424 assert(_g1_reserved.contains(mr), "invariant"); |
6425 // This might return NULL if the allocation fails | 6425 // This might return NULL if the allocation fails |
6426 return new HeapRegion(hrs_index, _bot_shared, mr, true /* is_zeroed */); | 6426 return new HeapRegion(hrs_index, _bot_shared, mr); |
6427 } | 6427 } |
6428 | 6428 |
6429 void G1CollectedHeap::verify_region_sets() { | 6429 void G1CollectedHeap::verify_region_sets() { |
6430 assert_heap_locked_or_at_safepoint(true /* should_be_vm_thread */); | 6430 assert_heap_locked_or_at_safepoint(true /* should_be_vm_thread */); |
6431 | 6431 |