src/share/vm/gc_implementation/g1/g1ParScanThreadState.inline.hpp

changeset 7218
6948da6d7c13
parent 7010
a3953c777565
child 7645
f2e3f0e1f97d
     1.1 --- a/src/share/vm/gc_implementation/g1/g1ParScanThreadState.inline.hpp	Wed Sep 10 11:55:33 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1ParScanThreadState.inline.hpp	Tue Sep 30 09:44:36 2014 +0200
     1.3 @@ -29,20 +29,6 @@
     1.4  #include "gc_implementation/g1/g1RemSet.inline.hpp"
     1.5  #include "oops/oop.inline.hpp"
     1.6  
     1.7 -template <class T> inline void G1ParScanThreadState::immediate_rs_update(HeapRegion* from, T* p, int tid) {
     1.8 -  if (!from->is_survivor()) {
     1.9 -    _g1_rem->par_write_ref(from, p, tid);
    1.10 -  }
    1.11 -}
    1.12 -
    1.13 -template <class T> void G1ParScanThreadState::update_rs(HeapRegion* from, T* p, int tid) {
    1.14 -  if (G1DeferredRSUpdate) {
    1.15 -    deferred_rs_update(from, p, tid);
    1.16 -  } else {
    1.17 -    immediate_rs_update(from, p, tid);
    1.18 -  }
    1.19 -}
    1.20 -
    1.21  template <class T> void G1ParScanThreadState::do_oop_evac(T* p, HeapRegion* from) {
    1.22    assert(!oopDesc::is_null(oopDesc::load_decode_heap_oop(p)),
    1.23           "Reference should not be NULL here as such are never pushed to the task queue.");

mercurial