Uploaded image for project: 'Clojure'
  1. CLJ-1580

Transient collections should guarantee thread visibility

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects versions: Release 1.7
    • Fix versions: Release 1.7
    • Labels:
    • Approval:
      Ok
    • Patch:
      Code

      Description

      With changes from CLJ-1498 Closed , transients are still thread isolated but may move between threads during their lifetime which introduces new concurrency concerns, namely visibility of changes across threads.

      Approach: Make all transient collection fields either final or volatile to ensure visibility across threads.

      Patch: clj-1580-2.patch

      Screened by:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexmiller Alex Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: