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:09:04 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-11340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-11340:
--------------------------------
    Attachment: jmx-performance-counter-after.png

A screenshot with a fix where there is no thread contention/blocked/waiting anymore while routing 10 concurrent threads on the same route using seda.

> 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
>         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)