diff --git a/jcl/src/java.base/share/classes/java/lang/invoke/VarHandle.java b/jcl/src/java.base/share/classes/java/lang/invoke/VarHandle.java index 837edb5e902..bb0a395e07c 100644 --- a/jcl/src/java.base/share/classes/java/lang/invoke/VarHandle.java +++ b/jcl/src/java.base/share/classes/java/lang/invoke/VarHandle.java @@ -883,8 +883,8 @@ public static void acquireFence() { } /** - * Inserts a release memory fence, ensuring that no stores before this fence - * are reordered with any loads/stores after the fence. + * Inserts a release memory fence, ensuring that no loads and stores before + * this fence are reordered with any stores after the fence. */ public static void releaseFence() { // TODO: storeStore + loadStore @@ -984,7 +984,7 @@ public static void storeStoreFence() { /** * Sets the value of the field referenced by this {@link VarHandle} using acquire semantics. - * Preceding stores will not be reordered with subsequent loads/stores. + * Preceding loads and stores will not be reordered after this access. * * @param args The arguments for this operation are determined by the field type * (see {@link VarHandle#accessModeType(AccessMode) accessModeType()})