Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp @ 14443:3205e78d8193
8029396: PPC64 (part 212): Several memory ordering fixes in C-code.
Summary: memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
author | goetz |
---|---|
date | Mon, 02 Dec 2013 10:26:14 +0100 |
parents | 69944b868a32 |
children | abec000618bf |
comparison
equal
deleted
inserted
replaced
14442:1174c8abbdb6 | 14443:3205e78d8193 |
---|---|
149 bool is_a(BarrierSet::Name bsn) { | 149 bool is_a(BarrierSet::Name bsn) { |
150 return bsn == BarrierSet::G1SATBCTLogging || | 150 return bsn == BarrierSet::G1SATBCTLogging || |
151 G1SATBCardTableModRefBS::is_a(bsn); | 151 G1SATBCardTableModRefBS::is_a(bsn); |
152 } | 152 } |
153 | 153 |
154 void write_ref_field_work(void* field, oop new_val); | 154 void write_ref_field_work(void* field, oop new_val, bool release = false); |
155 | 155 |
156 // Can be called from static contexts. | 156 // Can be called from static contexts. |
157 static void write_ref_field_static(void* field, oop new_val); | 157 static void write_ref_field_static(void* field, oop new_val); |
158 | 158 |
159 // NB: if you do a whole-heap invalidation, the "usual invariant" defined | 159 // NB: if you do a whole-heap invalidation, the "usual invariant" defined |