[
https://issues.apache.org/jira/browse/DISPATCH-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ganesh Murthy updated DISPATCH-1371:
------------------------------------
Labels: performance (was: performence)
> 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
> Labels: performance
>
> 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: [email protected]
For additional commands, e-mail: [email protected]