Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-417

Reduce GC pressure while using BytesMessage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.37.0
    • Fix Version/s: None
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      JmsBytesMessage::initializeReading() creates DataInputStream that allocates several byte[] and char[] even when no methods need them.

      Using directly the underline ByteBufInputStream would reduce the amount of garbage created while reducing the indirections needed to hit the underline ByteBuf that hold the data.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nigro.fra@gmail.com Francesco Nigro
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: