mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
Reviewed-by: dholmes, kvn
This commit is contained in:
parent
06b9210700
commit
0306737032
8 changed files with 57 additions and 7 deletions
|
@ -2034,6 +2034,9 @@ run:
|
|||
TosState tos_type = cache->flag_state();
|
||||
int field_offset = cache->f2_as_index();
|
||||
if (cache->is_volatile()) {
|
||||
if (support_IRIW_for_not_multiple_copy_atomic_cpu) {
|
||||
OrderAccess::fence();
|
||||
}
|
||||
if (tos_type == atos) {
|
||||
VERIFY_OOP(obj->obj_field_acquire(field_offset));
|
||||
SET_STACK_OBJECT(obj->obj_field_acquire(field_offset), -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue