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

JEP 171: Clarifications/corrections for fence intrinsics

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b44
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: