Skip to content

Commit 773b82f

Browse files
Improve comment.
Co-authored-by: Richard Reingruber <[email protected]>
1 parent 138df66 commit 773b82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ void InterpreterMacroAssembler::load_field_or_method_entry(bool is_method, Regis
489489
add(cache, cache, index);
490490

491491
if (for_fast_bytecode) {
492-
// Prevent loading inconsistent resolved info which may have been written by another thread.
492+
// Prevent speculative loading from ResolvedFieldEntry/ResolvedMethodEntry as it can miss the info written by another thread.
493493
// TemplateTable::patch_bytecode uses release-store.
494494
// We reached here via control dependency (Bytecode dispatch has used the rewritten Bytecode).
495495
// So, we can use control-isync based ordering.

0 commit comments

Comments
 (0)