Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080588 VarHandles development
  3. JDK-8155739

[TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      Current tests work with weakCAS/CAE as if they are similar to the stronger forms. This only works on x86, but not on the weaker memory model machines, where weak versions are significantly simpler and can actually see spurious failures. See e.g.:
       http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2016-April/022717.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: