Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903494

jcstress: seqcst tests arbiters should take the lock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • None
    • None
    • tools
    • None

    Description

      Found this while peeking into the generated code: the arbiters code is not `synchronized` for sync tests, although it should match what other threads are doing. This seems to be innocuous on current platforms, because arbiter always runs "last" with the relevant volatile sychronization. This is not guaranteed to work generally, though.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: