You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Timothy A. Bish (Jira)" <ji...@apache.org> on 2022/09/13 17:46:00 UTC

[jira] [Created] (PROTON-2609) [proton-j] Remove unnecessary ByteBuffer slices and duplicates from the codec

Timothy A. Bish created PROTON-2609:
---------------------------------------

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