You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2017/08/31 16:31:00 UTC

[jira] [Resolved] (ARTEMIS-1356) Avoid allocations and atomic operations to recognize handler's thread

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

Justin Bertram resolved ARTEMIS-1356.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> Avoid allocations and atomic operations to recognize handler's thread
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-1356
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1356
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>             Fix For: 2.3.0
>
>
> The current way to recognize the handler's thread is using heavyweight operations (allocations + atomic set/get) that limit some compiler optimizations on the (core) packet handling path.
> The same logic can be achieved using only a ThreadLocal map and a cached marker instance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)