[
https://issues.apache.org/jira/browse/PROTON-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605384#comment-17605384
]
ASF subversion and git services commented on PROTON-2609:
---------------------------------------------------------
Commit 05b069671d78c18a2492f631c2c512021b1124d9 in qpid-proton-j's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=05b06967 ]
PROTON-2609 Remove buffer slices and duplicates from the codec
Ensure that buffer position is moved to reflect requested size
regardless of what the decoder might have read.
> [proton-j] Remove unnecessary ByteBuffer slices and duplicates from the codec
> ------------------------------------------------------------------------------
>
> Key: PROTON-2609
> URL: https://issues.apache.org/jira/browse/PROTON-2609
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-j
> Affects Versions: proton-j-0.34.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Fix For: proton-j-0.35.0
>
>
> The internal proton-j codec create several unneeded ByteBuffer slices and
> duplicates where it could just track buffer position and limits when needed
> to read byte array data and not create excess GC pressure just to read a
> Symbol payload or String body etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]