[
https://issues.apache.org/jira/browse/HBASE-25762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-25762:
------------------------------
Hadoop Flags: Reviewed
> Improvement for some debug-logging guards
> -----------------------------------------
>
> Key: HBASE-25762
> URL: https://issues.apache.org/jira/browse/HBASE-25762
> Project: HBase
> Issue Type: Improvement
> Components: logging, Performance
> Reporter: Chen Zhi
> Assignee: Chen Zhi
> Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3, 2.3.6
>
> Attachments: HBASE-25762.patch
>
>
> Some potential expensive debug-logging calls are partially guarded by
> `isXXXEnabled()`. Therefore,
> - Moving some potential expensive statements into the adjacent
> `isDebugEnabled` in `NettyRpcDuplexHandler.java`
> - Moving the `isTraceEnabled` up to the beginning of `printChoreDetails` and
> `printChoreServiceDetails` in `ChoreService.java `.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)