camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11340) JMX performance statistics - Consider optimise to LongAdder
Date Fri, 26 May 2017 15:50:04 GMT

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

Mime
View raw message