Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10897

Inefficient read of the entire resource tree in messaging subsystem socket binding analysis

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 14.0.0.Final
    • JMS
    • None

    Description

      The isOutBoundSocketBinding utility method is performing a read of the entire model. Worse, it gets called inside a loop.

      Just non-recursively read the s-b-g names, and then non-recursively read each s-b-g (in reality there will only be one) to find the children.

      For bonus points, pass in the entire list of a names and return a LinkedHashMap<String, Boolean> and process everything with one pair of reads instead of repeating for each name.

      Attachments

        Activity

          People

            ehugonne1@redhat.com Emmanuel Hugonnet
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: