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

Print this page

        

*** 99,109 **** template <class T> void push_on_queue(T* ref) { assert(verify_ref(ref), "sanity"); _refs->push(ref); } ! template <class T> void update_rs(HeapRegion* from, T* p, int tid) { // If the new value of the field points to the same region or // is the to-space, we don't need to include it in the Rset updates. if (!from->is_in_reserved(oopDesc::load_decode_heap_oop(p)) && !from->is_survivor()) { size_t card_index = ctbs()->index_for(p); // If the card hasn't been added to the buffer, do it. --- 99,109 ---- template <class T> void push_on_queue(T* ref) { assert(verify_ref(ref), "sanity"); _refs->push(ref); } ! template <class T> void update_rs(HeapRegion* from, T* p, uint tid) { // If the new value of the field points to the same region or // is the to-space, we don't need to include it in the Rset updates. if (!from->is_in_reserved(oopDesc::load_decode_heap_oop(p)) && !from->is_survivor()) { size_t card_index = ctbs()->index_for(p); // If the card hasn't been added to the buffer, do it.