equal
deleted
inserted
replaced
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 } |