Benoit Wiart created CASSANDRA-14488:
----------------------------------------

             Summary: Avoid unneeded memory allocations / cpu for disabled log 
levels
                 Key: CASSANDRA-14488
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14488
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benoit Wiart


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to