hotspot/src/share/vm/memory/genRemSet.inline.hpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    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   }