comparison src/share/vm/gc_implementation/g1/concurrentMark.hpp @ 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 7df07d855c8e
children 1f1d373cd044
comparison
equal deleted inserted replaced
20335:eec72fa4b108 20336:6701abbc4441
796 796
797 // It is called at the end of an evacuation pause during marking so 797 // It is called at the end of an evacuation pause during marking so
798 // that CM is notified of where the new end of the heap is. It 798 // that CM is notified of where the new end of the heap is. It
799 // doesn't do anything if concurrent_marking_in_progress() is false, 799 // doesn't do anything if concurrent_marking_in_progress() is false,
800 // unless the force parameter is true. 800 // unless the force parameter is true.
801 void update_g1_committed(bool force = false); 801 void update_heap_boundaries(MemRegion bounds, bool force = false);
802 802
803 bool isMarked(oop p) const { 803 bool isMarked(oop p) const {
804 assert(p != NULL && p->is_oop(), "expected an oop"); 804 assert(p != NULL && p->is_oop(), "expected an oop");
805 HeapWord* addr = (HeapWord*)p; 805 HeapWord* addr = (HeapWord*)p;
806 assert(addr >= _nextMarkBitMap->startWord() || 806 assert(addr >= _nextMarkBitMap->startWord() ||