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

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: