[
https://issues.apache.org/jira/browse/PROTON-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129339#comment-18129339
]
ASF subversion and git services commented on PROTON-2993:
---------------------------------------------------------
Commit ed8c9438dcdc3d64a33d998a4b1658022e5ee6ba in qpid-protonj2's branch
refs/heads/1.x from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=ed8c9438 ]
PROTON-2993 Read input buffers into heap buffers
When decoding the binary payload read into a heap buffer to avoid any
dangling references to pooled buffers which can cause exhaustion of
the pool if references are long lived. Also improves performance of
the decode process by preventing use to cleaners for heap buffers that
do not need an explicit release when unreferenced.
(cherry picked from commit ee1680375cdfdd9c60a69520af972f23b12df28f)
> [protonj2] Binary decoder should not allow long references to pooled buffer
> slices
> ----------------------------------------------------------------------------------
>
> Key: PROTON-2993
> URL: https://issues.apache.org/jira/browse/PROTON-2993
> Project: Qpid Proton
> Issue Type: Bug
> Components: protonj2
> Affects Versions: protonj2-1.4.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Fix For: protonj2-1.5.0
>
>
> When reading in fields of AMQP types that decode into Binary instances the
> decoder shouldn't slice off retained chunks of pooled buffers as they can
> hold the full pooled buffer from being returned into the pool and lead to
> memory exhaustion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]