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

JEP 171: Clarifications/corrections for fence intrinsics

    XMLWordPrintable

Details

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

    Backports

      Description

        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/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: