543 p->record_thread_work_item(G1GCPhaseTimes::UpdateRS, worker_i, refine_card_cl.cards_scanned(), G1GCPhaseTimes::UpdateRSScannedCards); |
543 p->record_thread_work_item(G1GCPhaseTimes::UpdateRS, worker_i, refine_card_cl.cards_scanned(), G1GCPhaseTimes::UpdateRSScannedCards); |
544 p->record_thread_work_item(G1GCPhaseTimes::UpdateRS, worker_i, refine_card_cl.cards_skipped(), G1GCPhaseTimes::UpdateRSSkippedCards); |
544 p->record_thread_work_item(G1GCPhaseTimes::UpdateRS, worker_i, refine_card_cl.cards_skipped(), G1GCPhaseTimes::UpdateRSSkippedCards); |
545 } |
545 } |
546 } |
546 } |
547 |
547 |
548 void G1RemSet::prepare_for_oops_into_collection_set_do() { |
548 void G1RemSet::prepare_for_scan_rem_set() { |
549 G1BarrierSet::dirty_card_queue_set().concatenate_logs(); |
549 G1BarrierSet::dirty_card_queue_set().concatenate_logs(); |
550 _scan_state->reset(); |
550 _scan_state->reset(); |
551 } |
551 } |
552 |
552 |
553 void G1RemSet::cleanup_after_oops_into_collection_set_do() { |
553 void G1RemSet::cleanup_after_scan_rem_set() { |
554 G1GCPhaseTimes* phase_times = _g1h->phase_times(); |
554 G1GCPhaseTimes* phase_times = _g1h->phase_times(); |
555 |
555 |
556 // Set all cards back to clean. |
556 // Set all cards back to clean. |
557 double start = os::elapsedTime(); |
557 double start = os::elapsedTime(); |
558 _scan_state->clear_card_table(_g1h->workers()); |
558 _scan_state->clear_card_table(_g1h->workers()); |