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

JmsMessageIDBuilder::createMessageID can save StringBuilder allocations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.44.0
    • Fix Version/s: 0.44.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      JmsMessageIDBuilder::createMessageID doesn't seem able to correctly perform escape analysis on StringBuilder, allocating many of them.
      The intermediate StringBuilder could be saved into a thread local pool instead, saving unnececessary allocations.

        Attachments

        1. screenshot-1.png
          163 kB
          Francesco Nigro

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              nigro.fra@gmail.com Francesco Nigro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: