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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • core-libs
    • None

      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

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

              Created:
              Updated:
              Resolved: