You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2016/06/07 17:31:20 UTC

[jira] [Created] (CASSANDRA-11972) Use byte[] instead of object tree in Frame.Header

Robert Stupp created CASSANDRA-11972:
----------------------------------------

             Summary: Use byte[] instead of object tree in Frame.Header
                 Key: CASSANDRA-11972
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11972
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Minor
             Fix For: 3.x


Replacing the object tree/references in {{Frame.Header}} with {{byte[9]}} saves a couple of object allocations. Also, not allocating the 9 bytes for the header off-heap is less expensive.

(will provide a patch soon)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)