[jboss-jira] [JBoss JIRA] (WFCORE-3348) Minor optimizations in RunningStateJmx registration

Brian Stansberry (JIRA) issues at jboss.org
Mon Oct 9 18:42:00 EDT 2017


Brian Stansberry created WFCORE-3348:
----------------------------------------

             Summary: Minor optimizations in RunningStateJmx registration
                 Key: WFCORE-3348
                 URL: https://issues.jboss.org/browse/WFCORE-3348
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Domain Management, JMX
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor


While crawling over code for speed/memory reduction for WF 11 I noticed the RunningStateJmx.registerMBean stuff was a bit more complex than needed.

This is really minor. Eliminate an inner class used for an enum switch, avoid some simple calculations when the result is statically known.



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


More information about the jboss-jira mailing list