8212974: Update RS Skipped cards uses wrong enum to register to phase
Reviewed-by: kbarrett
--- a/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Fri Oct 26 15:13:12 2018 -0700
+++ b/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Mon Oct 29 08:52:04 2018 +0100
@@ -95,7 +95,7 @@
_update_rs_scanned_cards = new WorkerDataArray<size_t>(max_gc_threads, "Scanned Cards:");
_gc_par_phases[UpdateRS]->link_thread_work_items(_update_rs_scanned_cards, UpdateRSScannedCards);
_update_rs_skipped_cards = new WorkerDataArray<size_t>(max_gc_threads, "Skipped Cards:");
- _gc_par_phases[UpdateRS]->link_thread_work_items(_update_rs_skipped_cards, ScanRSSkippedCards);
+ _gc_par_phases[UpdateRS]->link_thread_work_items(_update_rs_skipped_cards, UpdateRSSkippedCards);
_termination_attempts = new WorkerDataArray<size_t>(max_gc_threads, "Termination Attempts:");
_gc_par_phases[Termination]->link_thread_work_items(_termination_attempts);