[jboss-jira] [JBoss JIRA] (WFCORE-3550) Inefficient algorithm for converting JMX attribute names to native resource attribute names

Brian Stansberry (JIRA) issues at jboss.org
Thu Jan 25 13:08:00 EST 2018


Brian Stansberry created WFCORE-3550:
----------------------------------------

             Summary: Inefficient algorithm for converting JMX attribute names to native resource attribute names
                 Key: WFCORE-3550
                 URL: https://issues.jboss.org/browse/WFCORE-3550
             Project: WildFly Core
          Issue Type: Bug
          Components: JMX
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


ModelControllerMBeanHelper is taking an MRR, using it to create a DMR ModelNode description of the resource type, and then iterating over the attribute names in that description tree to try and match up with the requested JMX attribute name. That middle step of creating the DMR description is very expensive; it produces a very large node tree. It's not necessary; the MRR already can tell you the legal attribute names.

I believe this is legacy cruft from the early AS 7 days when the MRR wasn't always reliable for all attribute names. But it's been reliable for a long time now.



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


More information about the jboss-jira mailing list