src/share/vm/memory/genRemSet.inline.hpp

changeset 548
ba764ed4b6f2
parent 435
a61af66fc99e
child 631
d1605aabd0a1
equal deleted inserted replaced
545:a49a647afe9a 548:ba764ed4b6f2
24 24
25 // Inline functions of GenRemSet, which de-virtualize this 25 // Inline functions of GenRemSet, which de-virtualize this
26 // performance-critical call when when the rem set is the most common 26 // performance-critical call when when the rem set is the most common
27 // card-table kind. 27 // card-table kind.
28 28
29 void GenRemSet::write_ref_field_gc(oop* field, oop new_val) { 29 void GenRemSet::write_ref_field_gc(void* field, oop new_val) {
30 if (kind() == CardTableModRef) { 30 if (kind() == CardTableModRef) {
31 ((CardTableRS*)this)->inline_write_ref_field_gc(field, new_val); 31 ((CardTableRS*)this)->inline_write_ref_field_gc(field, new_val);
32 } else { 32 } else {
33 write_ref_field_gc_work(field, new_val); 33 write_ref_field_gc_work(field, new_val);
34 } 34 }

mercurial