[
https://issues.apache.org/jira/browse/CAMEL-11342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026230#comment-16026230
]
Claus Ibsen commented on CAMEL-11342:
-------------------------------------
[~lb] [~zregvart] [~nferraro] [~ancosen] et all you guys are welcome to review
this code change, to make sure I didn't mess up the logic.
The YourKit profiler now shows no threads blocked in ManagedRoute which could
happen before due those synchronization blocks. I only have a screenshot after
the change. You can find screenshots of before in CAMEL-11341 ticket.
The last piece is the ManagedPerformanceCounter. We have known this for a while
but a previous attempt to fix it many years ago cause JMX runtime statistics
to show "partial updated" data.
> Optimize ManagedRoute
> ---------------------
>
> Key: CAMEL-11342
> URL: https://issues.apache.org/jira/browse/CAMEL-11342
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Fix For: 2.20.0
>
> Attachments: after2.png
>
>
> We can optimize ManagedRoute to avoid synchronized block on start/end when it
> records details about longest inflight duration.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)