comparison src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp @ 20275:e5035defa3c4

8048214: Linker error when compiling G1SATBCardTableModRefBS after include order changes Reviewed-by: stefank, brutisso, tschatzl
author mgerdin
date Thu, 26 Jun 2014 13:20:18 +0200
parents ce8f6bb717c9
children 1f1d373cd044
comparison
equal deleted inserted replaced
20274:a8137787acfe 20275:e5035defa3c4
60 for (int i = 0; i < count; i++, elem_ptr++) { 60 for (int i = 0; i < count; i++, elem_ptr++) {
61 T heap_oop = oopDesc::load_heap_oop(elem_ptr); 61 T heap_oop = oopDesc::load_heap_oop(elem_ptr);
62 if (!oopDesc::is_null(heap_oop)) { 62 if (!oopDesc::is_null(heap_oop)) {
63 enqueue(oopDesc::decode_heap_oop_not_null(heap_oop)); 63 enqueue(oopDesc::decode_heap_oop_not_null(heap_oop));
64 } 64 }
65 }
66 }
67
68 void G1SATBCardTableModRefBS::write_ref_array_pre(oop* dst, int count, bool dest_uninitialized) {
69 if (!dest_uninitialized) {
70 write_ref_array_pre_work(dst, count);
71 }
72 }
73 void G1SATBCardTableModRefBS::write_ref_array_pre(narrowOop* dst, int count, bool dest_uninitialized) {
74 if (!dest_uninitialized) {
75 write_ref_array_pre_work(dst, count);
65 } 76 }
66 } 77 }
67 78
68 bool G1SATBCardTableModRefBS::mark_card_deferred(size_t card_index) { 79 bool G1SATBCardTableModRefBS::mark_card_deferred(size_t card_index) {
69 jbyte val = _byte_map[card_index]; 80 jbyte val = _byte_map[card_index];