Skip to content

Commit bd45191

Browse files
committed
8255065: Zero: accessor_entry misses the IRIW case
Reviewed-by: mdoerr
1 parent 2a06335 commit bd45191

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,9 @@ int ZeroInterpreter::accessor_entry(Method* method, intptr_t UNUSED, TRAPS) {
596596
break;
597597
}
598598
if (entry->is_volatile()) {
599+
if (support_IRIW_for_not_multiple_copy_atomic_cpu) {
600+
OrderAccess::fence();
601+
}
599602
switch (entry->flag_state()) {
600603
case ctos:
601604
SET_LOCALS_INT(object->char_field_acquire(entry->f2_as_index()), 0);

0 commit comments

Comments
 (0)