hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Sigoure (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5255) Use singletons for OperationStatus to save memory
Date Mon, 23 Jan 2012 03:25:44 GMT
Use singletons for OperationStatus to save memory

                 Key: HBASE-5255
                 URL: https://issues.apache.org/jira/browse/HBASE-5255
             Project: HBase
          Issue Type: Improvement
          Components: regionserver
    Affects Versions: 0.90.5, 0.92.0
            Reporter: Benoit Sigoure
            Assignee: Benoit Sigoure
            Priority: Minor
             Fix For: 0.94.0, 0.92.1

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message