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

avoid creating a Runnable on every Transfer frame send

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • proton-j-0.25.0
    • proton-j-0.26.0
    • proton-j
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: