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

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P2
    • 9
    • None
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: