Skip to content

Commit

Permalink
Merge pull request #13991 from babsingh/fix_javadoc
Browse files Browse the repository at this point in the history
Update method description to match Javadoc
  • Loading branch information
tajila committed Nov 24, 2021
2 parents c3e6fed + e6170fb commit f9983ad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()})
Expand Down

0 comments on commit f9983ad

Please sign in to comment.