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

ASF subversion and git services commented on ARTEMIS-1356:
----------------------------------------------------------

Commit aa2f0b9f1730c788bbeeadddf3c082fe3f1f675d in activemq-artemis's branch 
refs/heads/master from Clebert Suconic
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=aa2f0b9 ]

ARTEMIS-1356 Fixing assertion logic


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

Reply via email to