cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Olsson (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-13084) Avoid byte-array copy when key cache is disabled
Date Thu, 29 Dec 2016 10:14:58 GMT


Marcus Olsson updated CASSANDRA-13084:
    Attachment: CASSANDRA-13084-3.X.patch

Attaching patches for 3.0 and 3.X. The 3.X version should apply cleanly to trunk.

Unfortunately I have not been able to run the dtests locally with these patches as I seem
to have some issues with my setup.

> Avoid byte-array copy when key cache is disabled
> ------------------------------------------------
>                 Key: CASSANDRA-13084
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcus Olsson
>            Assignee: Marcus Olsson
>            Priority: Trivial
>         Attachments: CASSANDRA-13084-3.0.patch, CASSANDRA-13084-3.X.patch
> While profiling a cluster with the key cache disabled some unnecessary heap pressure
was observed. It seems that even though the key cache is disabled we still create the *KeyCacheKey*
object which uses _ByteBufferUtil.getArray()_ to copy the keys byte array.
> I don't believe it's a big issue but it's still unnecessary when not using the key cache.

This message was sent by Atlassian JIRA

View raw message