[jboss-jira] [JBoss JIRA] (WFCORE-3142) AuditLogHandlerReferenceAddHandler is doing an avoidable read of the entire resource tree

Brian Stansberry (JIRA) issues at jboss.org
Thu Aug 3 13:35:00 EDT 2017


Brian Stansberry created WFCORE-3142:
----------------------------------------

             Summary: AuditLogHandlerReferenceAddHandler is doing an avoidable read of the entire resource tree
                 Key: WFCORE-3142
                 URL: https://issues.jboss.org/browse/WFCORE-3142
             Project: WildFly Core
          Issue Type: Bug
          Components: JMX
            Reporter: Brian Stansberry


AuditLogHandlerReferenceAddHandler reads the entire tree in order to inspect resources in a small subtree. This is inefficient as it results in a clone of the complete tree.

It's certainly not necessary on a server. On an HC there is some purpose to it, as the code is using the full tree to determine the local host tree. But even there it seems like there should be a more efficient mechanism.

We don't add these resources in our default config so this doesn't affect OOTB boot time.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list