Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12839

Remove synchronization in ServerStatisticsTracker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Remove synchronization in ServerStatisticTracker. We can use putIfAbsent instead of a synchronized block to add ServerStatistic objects to the concurrent statistics hashmap.

      Attachments

        1. HBASE-12839.patch
          2 kB
          Andrew Kyle Purtell
        2. HBASE-12839.patch
          2 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: