[
https://issues.apache.org/jira/browse/PROTON-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554202#comment-17554202
]
ASF subversion and git services commented on PROTON-2562:
---------------------------------------------------------
Commit 6de74a08c9b1d4dc7cf375fddb2256f8b5b41b48 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=6de74a08c ]
PROTON-2562: Fix pn_value_dump to output to a fixed size string buffer
Introduce a new fixed size string type that does not grow and works in a
fixed buffer.
This is then used by the logger to avoid dynamically
growing the logger 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.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]