--- a/src/hotspot/share/gc/g1/g1RemSet.hpp Tue May 14 08:52:51 2019 -0400
+++ b/src/hotspot/share/gc/g1/g1RemSet.hpp Tue May 14 15:36:26 2019 +0200
@@ -47,8 +47,7 @@
class G1RemSetScanState;
class G1ParScanThreadState;
class G1Policy;
-class G1ScanObjsDuringScanRSClosure;
-class G1ScanObjsDuringUpdateRSClosure;
+class G1ScanCardClosure;
class HeapRegionClaimer;
// A G1RemSet in which each heap region has a rem set that records the
@@ -115,7 +114,7 @@
// Refine the card corresponding to "card_ptr", applying the given closure to
// all references found. Must only be called during gc.
// Returns whether the card has been scanned.
- bool refine_card_during_gc(CardValue* card_ptr, G1ScanObjsDuringUpdateRSClosure* update_rs_cl);
+ bool refine_card_during_gc(CardValue* card_ptr, G1ScanCardClosure* update_rs_cl);
// Print accumulated summary info from the start of the VM.
void print_summary_info();
@@ -135,7 +134,7 @@
G1CardTable *_ct;
G1ParScanThreadState* _pss;
- G1ScanObjsDuringScanRSClosure* _scan_objs_on_card_cl;
+ G1ScanCardClosure* _scan_objs_on_card_cl;
G1RemSetScanState* _scan_state;
@@ -164,7 +163,7 @@
void scan_strong_code_roots(HeapRegion* r);
public:
G1ScanRSForRegionClosure(G1RemSetScanState* scan_state,
- G1ScanObjsDuringScanRSClosure* scan_obj_on_card,
+ G1ScanCardClosure* scan_obj_on_card,
G1ParScanThreadState* pss,
G1GCPhaseTimes::GCParPhases phase,
uint worker_i);