--- old/src/share/vm/gc/g1/g1RemSet.hpp 2017-07-03 11:49:03.757470771 +0200 +++ new/src/share/vm/gc/g1/g1RemSet.hpp 2017-07-03 11:49:03.627466766 +0200 @@ -75,12 +75,9 @@ // into the collection set or update the remembered set. void update_rem_set(DirtyCardQueue* into_cset_dcq, G1ParScanThreadState* pss, uint worker_i); -protected: G1CollectedHeap* _g1; size_t _conc_refine_cards; - uint n_workers(); -protected: CardTableModRefBS* _ct_bs; G1Policy* _g1p; G1HotCardCache* _hot_card_cache; --- old/src/share/vm/gc/g1/g1RemSet.inline.hpp 2017-07-03 11:49:04.378489907 +0200 +++ new/src/share/vm/gc/g1/g1RemSet.inline.hpp 2017-07-03 11:49:04.250485963 +0200 @@ -30,10 +30,6 @@ #include "gc/g1/heapRegionRemSet.hpp" #include "oops/oop.inline.hpp" -inline uint G1RemSet::n_workers() { - return _g1->workers()->total_workers(); -} - template inline void G1RemSet::par_write_ref(HeapRegion* from, T* p, uint tid) { oop obj = oopDesc::load_decode_heap_oop(p);