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

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

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

PROTON-2562: Use a fixed size buffer for more log messages

The log messages that still use a pn_string_t either use that type
because of internal APIs.


> 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.7#820007)

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

Reply via email to