You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @IntrinsicCandidate method storeStoreFence in jdk.internal.misc.Unsafe has the following implementation:
/** * Ensures that stores before the fence will not be reordered with * stores after the fence. * * @since 9 */@IntrinsicCandidatepublicfinalvoidstoreStoreFence() {
// If storeStoreFence intrinsic is not available, fall back to storeFence.storeFence();
}
to prevent the reordering of stores and ensure the visibility of prior stores to subsequent stores. Currently, the JIT compiler does not supply an intrinsic for this method and so it is forwarded to a Unsafe.storeFence() call. This forwarded storeFence() call is unnecessary as the x86 memory model (see sec. 9.2.3.2) ensures stores are seen in program order.
The text was updated successfully, but these errors were encountered:
The
@IntrinsicCandidate
methodstoreStoreFence
injdk.internal.misc.Unsafe
has the following implementation:to prevent the reordering of stores and ensure the visibility of prior stores to subsequent stores. Currently, the JIT compiler does not supply an intrinsic for this method and so it is forwarded to a
Unsafe.storeFence()
call. This forwardedstoreFence()
call is unnecessary as the x86 memory model (see sec. 9.2.3.2) ensures stores are seen in program order.The text was updated successfully, but these errors were encountered: