mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8255065: Zero: accessor_entry misses the IRIW case
Reviewed-by: mdoerr
This commit is contained in:
parent
2a0633507c
commit
bd45191f00
1 changed files 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue