You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by benbenw <gi...@git.apache.org> on 2018/06/02 11:04:53 UTC

[GitHub] cassandra pull request #231: CASSANDRA-14488 Avoid unneeded memory allocatio...

GitHub user benbenw opened a pull request:

    https://github.com/apache/cassandra/pull/231

    CASSANDRA-14488 Avoid unneeded memory allocations / cpu for disabled log levels

    add debug and trace log guard when the parameters creation implies memory allocations and / or cpu.
    
    Especially for StreamingInboundHandler/NettyStreamingMessageSender where
    createLogTag is allocating 64*2+UUID#toString bytes

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benbenw/cassandra CASSANDRA-14488

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/231.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #231
    
----
commit 0d8de4a2c0b58a42a7fb00c917d5c50286ee41d9
Author: benoit <b....@...>
Date:   2018-06-02T09:55:28Z

    add debug and trace log guard when the parameters creation implies
    memory allocations and / or cpu.
    
    Especially for StreamingInboundHandler/NettyStreamingMessageSender where
    createLogTag is allocating 64*2+UUID#toString bytes

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org