Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-7191

AutoTcpTransportServer creates new OpenWire protocol verifier object for every connection

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.15.9
    • Fix Version/s: 5.15.10, 5.16.0
    • Component/s: Broker, Transport
    • Labels:
      None

      Description

      I was looking at the Auto transport and noticed that every time a new OpenWire connection is made the AutoTcpTransportServer is creating a new OpenWireProtocolVerifier object with an updated wireformat factory and updating the verifiers map.  There is no point to this as the wire format factory with updated options from the client isn't actually necessary to detect the protocol so this can be removed and prevent creating a bunch of new objects to garbage collect.

        Attachments

          Activity

            People

            • Assignee:
              cshannon Christopher L. Shannon
              Reporter:
              cshannon Christopher L. Shannon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: