You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/26 15:50:04 UTC

[jira] [Commented] (CAMEL-11340) JMX performance statistics - Consider optimise to LongAdder

    [ https://issues.apache.org/jira/browse/CAMEL-11340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026422#comment-16026422 ] 

Claus Ibsen commented on CAMEL-11340:
-------------------------------------

I pushed a potential fix to the CAMEL-11342 branch so we have both together, so this all together reduces contention during routing.

> JMX performance statistics - Consider optimise to LongAdder
> -----------------------------------------------------------
>
>                 Key: CAMEL-11340
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11340
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, jmx
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>         Attachments: jmx-performance-counter-after.png
>
>
> See
> org.apache.camel.management.mbean.ManagedPerformanceCounter
> org.apache.camel.management.mbean.Statistic
> Those use long types with synchronized blocks. We can consider using LongAdder and non synchronized.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)