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

Use singletons for OperationStatus to save memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.5, 0.92.0
    • 0.92.1, 0.94.0
    • regionserver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: