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

Minor optimizations in RunningStateJmx registration

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: