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

Use singletons for OperationStatus to save memory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.90.5, 0.92.0
    • Fix Version/s: 0.92.1, 0.94.0
    • Component/s: regionserver
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Every single Put causes the allocation of at least one OperationStatus, yet OperationStatus is almost always stateless, so these allocations are unnecessary and could be avoided. Attached patch adds a few singletons and uses them, with no public API change. I didn't test the patches, but you get the idea.

        Attachments

          Activity

            People

            • Assignee:
              tsuna Benoit Sigoure
              Reporter:
              tsuna Benoit Sigoure
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: