src/hotspot/share/gc/g1/g1CardLiveData.cpp
changeset 47678 c84eeb55c55e
parent 47647 64dba69fc528
child 47885 5caa1d5f74c1
equal deleted inserted replaced
47674:1587ffa1496a 47678:c84eeb55c55e
   311   void work(uint worker_id) {
   311   void work(uint worker_id) {
   312     SuspendibleThreadSetJoiner sts_join;
   312     SuspendibleThreadSetJoiner sts_join;
   313 
   313 
   314     G1CollectedHeap* g1h = G1CollectedHeap::heap();
   314     G1CollectedHeap* g1h = G1CollectedHeap::heap();
   315     G1ConcurrentMark* cm = g1h->concurrent_mark();
   315     G1ConcurrentMark* cm = g1h->concurrent_mark();
   316     G1CreateLiveDataClosure cl(g1h, cm, cm->nextMarkBitMap(), _live_data);
   316     G1CreateLiveDataClosure cl(g1h, cm, cm->next_mark_bitmap(), _live_data);
   317     g1h->heap_region_par_iterate(&cl, worker_id, &_hr_claimer);
   317     g1h->heap_region_par_iterate(&cl, worker_id, &_hr_claimer);
   318   }
   318   }
   319 };
   319 };
   320 
   320 
   321 void G1CardLiveData::create(WorkGang* workers, G1CMBitMap* mark_bitmap) {
   321 void G1CardLiveData::create(WorkGang* workers, G1CMBitMap* mark_bitmap) {