comparison src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp @ 20336:6701abbc4441

8054818: Refactor HeapRegionSeq to manage heap region and auxiliary data Summary: Let HeapRegionSeq manage the heap region and auxiliary data to decrease the amount of responsibilities of G1CollectedHeap, and encapsulate this work from other code. Reviewed-by: jwilhelm, jmasa, mgerdin, brutisso
author tschatzl
date Tue, 19 Aug 2014 10:50:27 +0200
parents 2c6ef90f030a
children 1f1d373cd044
comparison
equal deleted inserted replaced
20335:eec72fa4b108 20336:6701abbc4441
673 void 673 void
674 G1BlockOffsetArrayContigSpace::set_for_starts_humongous(HeapWord* new_top) { 674 G1BlockOffsetArrayContigSpace::set_for_starts_humongous(HeapWord* new_top) {
675 assert(new_top <= _end, "_end should have already been updated"); 675 assert(new_top <= _end, "_end should have already been updated");
676 676
677 // The first BOT entry should have offset 0. 677 // The first BOT entry should have offset 0.
678 zero_bottom_entry(); 678 reset_bot();
679 initialize_threshold();
680 alloc_block(_bottom, new_top); 679 alloc_block(_bottom, new_top);
681 } 680 }
682 681
683 #ifndef PRODUCT 682 #ifndef PRODUCT
684 void 683 void