Skip to content
Permalink
Browse files
8255065: Zero: accessor_entry misses the IRIW case
Reviewed-by: mdoerr
  • Loading branch information
shipilev committed Oct 21, 2020
1 parent 2a06335 commit bd45191f00b3e282b833e5b349bbede3c390485a
Showing 1 changed file with 3 additions and 0 deletions.
@@ -596,6 +596,9 @@ int ZeroInterpreter::accessor_entry(Method* method, intptr_t UNUSED, TRAPS) {
break;
}
if (entry->is_volatile()) {
if (support_IRIW_for_not_multiple_copy_atomic_cpu) {
OrderAccess::fence();
}
switch (entry->flag_state()) {
case ctos:
SET_LOCALS_INT(object->char_field_acquire(entry->f2_as_index()), 0);

1 comment on commit bd45191

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on bd45191 Oct 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.