< prev index next >

src/hotspot/cpu/ppc/nativeInst_ppc.cpp

Print this page

        

*** 372,382 **** // Bytes beyond offset NativeGeneralJump::instruction_size are copied by caller. // 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)); *jump_addr = *((juint*)code_buffer); // atomically store code over branch instruction ICache::ppc64_flush_icache_bytes(instr_addr, NativeGeneralJump::instruction_size); } --- 372,382 ---- // Bytes beyond offset NativeGeneralJump::instruction_size are copied by caller. // 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. ! //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); }
< prev index next >