equal
deleted
inserted
replaced
45 } |
45 } |
46 } |
46 } |
47 |
47 |
48 template <DecoratorSet decorators, typename T> |
48 template <DecoratorSet decorators, typename T> |
49 inline void G1BarrierSet::write_ref_field_post(T* field, oop new_val) { |
49 inline void G1BarrierSet::write_ref_field_post(T* field, oop new_val) { |
50 volatile jbyte* byte = _card_table->byte_for(field); |
50 volatile CardValue* byte = _card_table->byte_for(field); |
51 if (*byte != G1CardTable::g1_young_card_val()) { |
51 if (*byte != G1CardTable::g1_young_card_val()) { |
52 // Take a slow path for cards in old |
52 // Take a slow path for cards in old |
53 write_ref_field_post_slow(byte); |
53 write_ref_field_post_slow(byte); |
54 } |
54 } |
55 } |
55 } |