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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 14.0.0.Final
    • Component/s: JMS
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ehugonnet Emmanuel Hugonnet
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: