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

Reduce GC pressure while using BytesMessage

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 0.37.0
    • None
    • qpid-jms-client
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nigro.fra@gmail.com Francesco Nigro

            Dates

              Created:
              Updated:

              Slack

                Issue deployment