src/hotspot/share/gc/g1/g1HotCardCache.cpp
changeset 58264 4e96939a5746
parent 58033 9162feb63c42
child 58679 9c3209ff7550
child 59249 29b0d0b61615
--- a/src/hotspot/share/gc/g1/g1HotCardCache.cpp	Mon Sep 23 11:37:02 2019 +0200
+++ b/src/hotspot/share/gc/g1/g1HotCardCache.cpp	Mon Sep 23 11:37:08 2019 +0200
@@ -84,7 +84,7 @@
   return (previous_ptr == current_ptr) ? previous_ptr : card_ptr;
 }
 
-void G1HotCardCache::drain(G1CardTableEntryClosure* cl, uint worker_i) {
+void G1HotCardCache::drain(G1CardTableEntryClosure* cl, uint worker_id) {
   assert(default_use_cache(), "Drain only necessary if we use the hot card cache.");
 
   assert(_hot_cache != NULL, "Logic");
@@ -99,7 +99,7 @@
     for (size_t i = start_idx; i < end_idx; i++) {
       CardValue* card_ptr = _hot_cache[i];
       if (card_ptr != NULL) {
-        cl->do_card_ptr(card_ptr, worker_i);
+        cl->do_card_ptr(card_ptr, worker_id);
       } else {
         break;
       }