8029396: PPC64 (part 212): Several memory ordering fixes in C-code

Memory ordering fixes in GC and other runtime code showing on PPC64.

Reviewed-by: kvn, coleenp
This commit is contained in:
Goetz Lindenmaier 2013-12-02 10:26:14 +01:00
parent 1b2bf0be10
commit 46c4ef6572
16 changed files with 99 additions and 34 deletions

View file

@ -100,9 +100,9 @@ protected:
public:
// ...then the post-write version.
inline void write_ref_field(void* field, oop new_val);
inline void write_ref_field(void* field, oop new_val, bool release = false);
protected:
virtual void write_ref_field_work(void* field, oop new_val) = 0;
virtual void write_ref_field_work(void* field, oop new_val, bool release = false) = 0;
public:
// Invoke the barrier, if any, necessary when writing the "bytes"-byte