You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/10/12 12:12:20 UTC
[jira] [Updated] (KAFKA-4289) CPU wasted on reflection calls
initializing short-lived loggers
[ https://issues.apache.org/jira/browse/KAFKA-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma updated KAFKA-4289:
-------------------------------
Fix Version/s: 0.10.2.0
> 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
> Fix For: 0.10.2.0
>
>
> 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)