--- old/src/share/vm/gc/g1/g1RemSet.hpp 2017-07-12 12:13:42.850620971 +0200 +++ new/src/share/vm/gc/g1/g1RemSet.hpp 2017-07-12 12:13:42.754617994 +0200 @@ -49,22 +49,11 @@ class G1ScanObjsDuringUpdateRSClosure; class HeapRegionClaimer; -// Closure used for updating remembered sets and recording references that -// point into the collection set while the mutator is running. -// Assumed to be only executed concurrently with the mutator. Yields via -// SuspendibleThreadSet after every card. -class G1RefineCardConcurrentlyClosure: public CardTableEntryClosure { -public: - bool do_card_ptr(jbyte* card_ptr, uint worker_i); -}; - // A G1RemSet in which each heap region has a rem set that records the // external heap references into it. Uses a mod ref bs to track updates, // so that they can be used to update the individual region remsets. class G1RemSet: public CHeapObj { private: - G1RefineCardConcurrentlyClosure _refine_card_concurrently_cl; - G1RemSetScanState* _scan_state; G1CardLiveData _card_live_data; @@ -138,8 +127,6 @@ // Eliminates any remembered set entries that correspond to dead heap ranges. void scrub(uint worker_num, HeapRegionClaimer* hrclaimer); - G1RefineCardConcurrentlyClosure* refine_card_concurrently_closure() { return &_refine_card_concurrently_cl; } - // Refine the card corresponding to "card_ptr". Safe to be called concurrently // to the mutator. void refine_card_concurrently(jbyte* card_ptr,