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

Concurrency Improvements

    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

            People

              benoyantony Benoy Antony
              benoyantony Benoy Antony
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: