HBase
  1. HBase
  2. HBASE-5255

Use singletons for OperationStatus to save memory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development