[
https://issues.apache.org/jira/browse/PROTON-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449649#comment-13449649
]
Rafael H. Schloming commented on PROTON-12:
-------------------------------------------
Oops, I guess I missed that. The code reuses the delivery objects themselves,
so it should be a simple matter to replace that malloc with a buffer object and
simply ensure it is the right size. I'll do that shortly.
> Delivery structure uses malloc/free for every delivery (delivery tag)
> ---------------------------------------------------------------------
>
> Key: PROTON-12
> URL: https://issues.apache.org/jira/browse/PROTON-12
> Project: Qpid Proton
> Issue Type: Improvement
> Reporter: Ted Ross
> Priority: Minor
>
> The implementation of the pn_delivery_t structure uses malloc/free for the
> delivery tag resulting in heap access per-delivery. It would be desirable to
> use in-structure memory for delivery tags, even if only for tags below a
> certain length, to avoid the cost of frequent heap usage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira