cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-14488) Avoid unneeded memory allocations / cpu for disabled log levels
Date Sat, 02 Jun 2018 13:44:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-14488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Brown resolved CASSANDRA-14488.
-------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 4.0.x)
                   4.0

> 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
>            Assignee: Benoit Wiart
>            Priority: Minor
>             Fix For: 4.0
>
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message