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

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

franz1981 commented on issue #523: DISPATCH-1371 qd_alloc can reuse instances 
in LIFO order
URL: https://github.com/apache/qpid-dispatch/pull/523#issuecomment-505985484
 
 
   I will close this, thanks to #525 :+1: 
   thanks @ChugR for your review!!!
 
----------------------------------------------------------------
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:
[email protected]


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to