diff -r 4fbc534fdf69 -r 4e96939a5746 src/hotspot/share/gc/g1/g1HotCardCache.cpp --- 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; }