hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Rodionov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12061) Ensure LOG.isXXXEnabled() around LOG.XXX() calls
Date Tue, 23 Sep 2014 01:51:33 GMT
Vladimir Rodionov created HBASE-12061:
-----------------------------------------

             Summary: Ensure LOG.isXXXEnabled() around LOG.XXX() calls
                 Key: HBASE-12061
                 URL: https://issues.apache.org/jira/browse/HBASE-12061
             Project: HBase
          Issue Type: Sub-task
          Components: Performance
            Reporter: Vladimir Rodionov
            Assignee: Vladimir Rodionov


The common anti-pattern in Java is using LOG.xxx() calls w/o wrapping them into LOG.isXXXEnabled().
This result in unnecessary object serialization/ string concatenation/ garbage object production
even if XXX lof=g level is disabled.   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message