You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2022/06/14 13:03:00 UTC

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

Andrew Stitcher created PROTON-2562:
---------------------------------------

             Summary: 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


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