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

avoid creating a Runnable on every Transfer frame send

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: proton-j-0.25.0
    • Fix Version/s: proton-j-0.26.0
    • Component/s: proton-j
    • Labels:
      None

      Description

      On each outbound Transfer frame the TransportImpl creates a new Runnable to handle overflow which sets the more value on the Transfer and rewrites the frame body.  We can use a single instance to handle this and reduce the amount of garbage create on send.

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy Bish
              Reporter:
              tabish Timothy Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: