You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/17 08:30:00 UTC

[jira] [Commented] (DISPATCH-1371) qd_alloc can reuse instances in LIFO order

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

ASF GitHub Bot commented on DISPATCH-1371:
------------------------------------------

franz1981 commented on pull request #523: DISPATCH-1371 qd_alloc can reuse instances in LIFO order
URL: https://github.com/apache/qpid-dispatch/pull/523
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> qd_alloc can reuse instances in LIFO order
> ------------------------------------------
>
>                 Key: DISPATCH-1371
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1371
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>    Affects Versions: 1.8.0
>            Reporter: Francesco Nigro
>            Priority: Minor
>
> qd_dealloc is inserting instances on the tail of the thread local free_list while qd_alloc is reading from the head, always causing cache misses unless free_list size is 1.
> qd_alloc could instead reuse the last inserted instance ie the tail, using free_list as a stack (with LIFO accesses).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org