Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2609

[proton-j] Remove unnecessary ByteBuffer slices and duplicates from the codec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • proton-j-0.34.0
    • proton-j-0.35.0
    • proton-j
    • None

    Description

      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.  

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: