Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10593

Concurrency Improvements

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This is an umbrella jira to improve the concurrency of a few classes by making use of safe publication idioms. Most of the improvements are based on the following:

      To publish an object safely, both the reference to the object and the object's state must be made visible to other threads at the same time. A properly constructed object can be safely published by:

      • Initializing an object reference from a static initializer;
      • Storing a reference to it into a volatile field or AtomicReference;
      • Storing a reference to it into a final field of a properly constructed object; or
      • Storing a reference to it into a field that is properly guarded by a lock.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            benoyantony Benoy Antony
            benoyantony Benoy Antony

            Dates

              Created:
              Updated:

              Slack

                Issue deployment