You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/06 12:14:00 UTC

[jira] [Commented] (PROTON-2562) Refactor logging so that it doesn't allocate any heap memory

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

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

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

PROTON-2562: Use fixed buffer for logging raw byte output

Also chenage the format of the output to be a 'hexdump' type output.


> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org