< prev index next >

src/share/vm/gc/g1/g1SATBCardTableModRefBS.inline.hpp

Print this page

        

*** 31,41 **** // We export this to make it available in cases where the static // type of the barrier set is known. Note that it is non-virtual. template <class T> void G1SATBCardTableModRefBS::inline_write_ref_field_pre(T* field, oop newVal) { T heap_oop = oopDesc::load_heap_oop(field); if (!oopDesc::is_null(heap_oop)) { ! enqueue(oopDesc::decode_heap_oop(heap_oop)); } } // These are the more general virtual versions. void G1SATBCardTableModRefBS::write_ref_field_pre_work(oop* field, oop new_val) { --- 31,41 ---- // We export this to make it available in cases where the static // type of the barrier set is known. Note that it is non-virtual. template <class T> void G1SATBCardTableModRefBS::inline_write_ref_field_pre(T* field, oop newVal) { T heap_oop = oopDesc::load_heap_oop(field); if (!oopDesc::is_null(heap_oop)) { ! SATBMarkQueue::enqueue(oopDesc::decode_heap_oop(heap_oop)); } } // These are the more general virtual versions. void G1SATBCardTableModRefBS::write_ref_field_pre_work(oop* field, oop new_val) {
< prev index next >