[
https://issues.apache.org/jira/browse/CASSANDRA-11972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Stupp updated CASSANDRA-11972:
-------------------------------------
Status: Patch Available (was: In Progress)
Yea - maybe. Unsure after I've sorted out all the other stuff. Had the patch
handy anyway. Wouldn't mind if it's considered not worth to commit.
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:11972-bytes-in-header-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11972-bytes-in-header-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11972-bytes-in-header-trunk-dtest/lastSuccessfulBuild/]
> 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)