cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11972) Use byte[] instead of object tree in Frame.Header
Date Mon, 27 Jun 2016 18:01:52 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351495#comment-15351495
] 

Jonathan Ellis commented on CASSANDRA-11972:
--------------------------------------------

Resolving as wontfix given the above comments, and given that I'm trying to reduce the Patch
Available backlog.  Feel free to reopen if profiling or benchmarking shows that this is more
important than expected.

> 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)

Mime
View raw message