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

ASF subversion and git services commented on PROTON-2562:
---------------------------------------------------------

Commit 0c240d12a2ceca3e361a4c6efce86a984c316927 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=0c240d12a ]

PROTON-2562: Finish using fixed size buffers for logging output

Remove the scratch pn_string_t member of the logger as this is no longer
needed.


> Refactor logging so that it doesn't allocate any heap memory
> ------------------------------------------------------------
>
>                 Key: PROTON-2562
>                 URL: https://issues.apache.org/jira/browse/PROTON-2562
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> Currently the logging subsystem depends on the pn_string_t class to manage 
> the messages that it sends out. This means that it is subject heap 
> allocations at unknown time with unknown amounts.
> Given that a logging subsystem should always succeed and take as little time 
> as possible, it would be much better to avoid any allocations at all, but at 
> eliminating as many as possible will be a significant improvement.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to