8183394: Remove unused G1RemSet::n_workers() method

Reviewed-by: mgerdin, ehelin
This commit is contained in:
Thomas Schatzl 2017-07-04 09:15:45 +02:00
parent 0d2388b35a
commit 4318d80587
2 changed files with 0 additions and 7 deletions

View File

@ -75,12 +75,9 @@ private:
// 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;

View File

@ -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 <class T>
inline void G1RemSet::par_write_ref(HeapRegion* from, T* p, uint tid) {
oop obj = oopDesc::load_decode_heap_oop(p);