src/hotspot/share/gc/g1/g1RemSet.cpp
changeset 57508 28ab01c06755
parent 57506 36e4e50b4255
child 58033 9162feb63c42
equal deleted inserted replaced
57507:f6b30bd6804e 57508:28ab01c06755
  1145     if (_initial_evacuation && G1HotCardCache::default_use_cache()) {
  1145     if (_initial_evacuation && G1HotCardCache::default_use_cache()) {
  1146       assert(merge_remset_phase == G1GCPhaseTimes::MergeRS, "Wrong merge phase");
  1146       assert(merge_remset_phase == G1GCPhaseTimes::MergeRS, "Wrong merge phase");
  1147       G1GCParPhaseTimesTracker x(p, G1GCPhaseTimes::MergeHCC, worker_id);
  1147       G1GCParPhaseTimesTracker x(p, G1GCPhaseTimes::MergeHCC, worker_id);
  1148       G1MergeLogBufferCardsClosure cl(g1h, _scan_state);
  1148       G1MergeLogBufferCardsClosure cl(g1h, _scan_state);
  1149       g1h->iterate_hcc_closure(&cl, worker_id);
  1149       g1h->iterate_hcc_closure(&cl, worker_id);
       
  1150 
       
  1151       p->record_thread_work_item(G1GCPhaseTimes::MergeHCC, worker_id, cl.cards_dirty(), G1GCPhaseTimes::MergeHCCDirtyCards);
       
  1152       p->record_thread_work_item(G1GCPhaseTimes::MergeHCC, worker_id, cl.cards_skipped(), G1GCPhaseTimes::MergeHCCSkippedCards);
  1150     }
  1153     }
  1151 
  1154 
  1152     // Now apply the closure to all remaining log entries.
  1155     // Now apply the closure to all remaining log entries.
  1153     if (_initial_evacuation) {
  1156     if (_initial_evacuation) {
  1154       assert(merge_remset_phase == G1GCPhaseTimes::MergeRS, "Wrong merge phase");
  1157       assert(merge_remset_phase == G1GCPhaseTimes::MergeRS, "Wrong merge phase");