src/hotspot/cpu/ppc/nativeInst_ppc.cpp
changeset 59247 56bf71d64d51
parent 53867 87ef165e7bcd
--- a/src/hotspot/cpu/ppc/nativeInst_ppc.cpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/cpu/ppc/nativeInst_ppc.cpp	Mon Nov 25 12:22:13 2019 +0100
@@ -374,7 +374,7 @@
   // Finally patch out the jump.
   volatile juint *jump_addr = (volatile juint*)instr_addr;
   // Release not needed because caller uses invalidate_range after copying the remaining bytes.
-  //OrderAccess::release_store(jump_addr, *((juint*)code_buffer));
+  //Atomic::release_store(jump_addr, *((juint*)code_buffer));
   *jump_addr = *((juint*)code_buffer); // atomically store code over branch instruction
   ICache::ppc64_flush_icache_bytes(instr_addr, NativeGeneralJump::instruction_size);
 }