Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3348

Minor optimizations in RunningStateJmx registration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.0.Alpha1
    • None
    • JMX, Management
    • None

      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.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: