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

Remove streaming from DeploymentUnitPhaseService

    XMLWordPrintable

Details

    Description

      Presently the following is executed for every deployment for every deployment phase: -

      Set<String> subSystemNames = list.stream().map(e -> e.getSubsystemName()).collect(Collectors.toSet());
      

      This will be leading to a lot of unnecessary object allocation which could be avoided with a simple for loop instead.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: