Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8065804

JEP 171: Clarifications/corrections for fence intrinsics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • core-libs
    • b44
    • generic
    • generic
    • Verified

        Unsafe.storeFence currently says,

        """Ensures lack of reordering of stores before the fence
        with loads or stores after the fence."""

        That looks incorrect. It should be implying a LoadStore, not a StoreLoad.

        Also, fences are very difficult to understand, and more explanatory text will be helpful.

        Here's a try:

        http://cr.openjdk.java.net/~martin/webrevs/openjdk9/fence-intrinsics/

              martin Martin Buchholz
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: