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

Chen Zhi updated HBASE-25762:
-----------------------------
    Description: 
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 `.

  was:Moving some potential expensive statements into the adjacent 
debug-logging guards, since these statements are merely used by the following 
debug-logging calls.


> Improvement for some debug-logging guards
> -----------------------------------------
>
>                 Key: HBASE-25762
>                 URL: https://issues.apache.org/jira/browse/HBASE-25762
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Chen Zhi
>            Priority: Minor
>         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)

Reply via email to