Darran Lofthouse created WFCORE-4982:
----------------------------------------
Summary: Remove streaming from DeploymentUnitPhaseService
Key: WFCORE-4982
URL:
https://issues.redhat.com/browse/WFCORE-4982
Project: WildFly Core
Issue Type: Bug
Components: Server
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 12.0.0.Beta4
Presently the following is executed for every deployment for every deployment phase: -
{code:java}
Set<String> subSystemNames = list.stream().map(e ->
e.getSubsystemName()).collect(Collectors.toSet());
{code}
This will be leading to a lot of unnecessary object allocation which could be avoided with
a simple for loop instead.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)