Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-175

Optimize ServiceControllerImpl.shouldStop() method

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.1.7.Final, 1.2.7.Final
    • None
    • None

    Description

      Current shouldStop() implementation looks like:

      return mode == Mode.NEVER
             || mode == Mode.REMOVE
             || demandedByCount == 0 && ...
      

      NEVER is least frequent mode out there. It should be checked last.
      REMOVE is most frequent mode out there. It should be checked first.

      Attachments

        Activity

          People

            ropalka Richard Opalka
            ropalka Richard Opalka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: