radai rosenblatt created KAFKA-4289:
---------------------------------------

             Summary: CPU wasted on reflection calls initializing short-lived 
loggers
                 Key: KAFKA-4289
                 URL: https://issues.apache.org/jira/browse/KAFKA-4289
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.10.0.1
            Reporter: radai rosenblatt


an internal profiling run at linkedin found ~5% of the CPU time consumed by 
`sun.reflect.Reflection.getCallerClass()`.

digging into the stack trace shows its from initializing short lived logger 
objects in `FileMessageSet` and `RequestChannel.Request`



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

Reply via email to