Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12058 [Umbrella] Reduce unnecessary object allocations
  3. HBASE-12061

Ensure LOG.isXXXEnabled() wrapper around LOG.XXX() calls

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None

      Description

      The common anti-pattern in Java is using LOG.xxx() calls w/o wrapping them into LOG.isXXXEnabled(). This results in unnecessary object serializations/ string concatenations/ garbage object production even if XXX log level is disabled.

        Attachments

          Activity

            People

            • Assignee:
              vrodionov Vladimir Rodionov
              Reporter:
              vrodionov Vladimir Rodionov
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: