[jboss-jira] [JBoss JIRA] (WFLY-10897) Inefficient read of the entire resource tree in messaging subsystem socket binding analysis
ehsavoie Hugonnet (JIRA)
issues at jboss.org
Wed Aug 22 07:52:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622586#comment-13622586 ]
ehsavoie Hugonnet commented on WFLY-10897:
------------------------------------------
This work has been integrated into WFLY-10518_artemis-2.x branch so it should we closed with the RFE integration
> 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