You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/09/17 20:00: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=16931778#comment-16931778 ] 

Ganesh Murthy commented on DISPATCH-1371:
-----------------------------------------

[~nigro.fra@gmail.com] can we close this ?

> 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
(v8.3.2#803003)

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