[jboss-jira] [JBoss JIRA] (WFLY-10897) Inefficient read of the entire resource tree in messaging subsystem socket binding analysis

Brian Stansberry (JIRA) issues at jboss.org
Tue Aug 21 18:47:01 EDT 2018


Brian Stansberry created WFLY-10897:
---------------------------------------

             Summary: Inefficient read of the entire resource tree in messaging subsystem socket binding analysis
                 Key: WFLY-10897
                 URL: https://issues.jboss.org/browse/WFLY-10897
             Project: WildFly
          Issue Type: Bug
          Components: JMS
            Reporter: Brian Stansberry
            Assignee: ehsavoie Hugonnet


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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list