]
Jan Kalina updated WFLY-9322:
-----------------------------
Git Pull Request:
Elytron uses parallel streams in situations that do not require then
--------------------------------------------------------------------
Key: WFLY-9322
URL:
https://issues.jboss.org/browse/WFLY-9322
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Jan Kalina
Assignee: Jan Kalina
This can have a big performance impact, as unless there are a large number of elements
parallel streams are significantly more expensive than non parallel ones. I see it being
used in:
org.jboss.as.ejb3.remote.AssociationImpl#registerClusterTopologyListener
org.wildfly.elytron.web.undertow.server.ElytronAccount#ElytronAccount
org.wildfly.elytron.web.undertow.server.ElytronHttpExchange#getRequestParameters
org.jboss.as.security.remoting.RemotingConnectionCredential#RemotingConnectionCredential
org.jboss.as.security.api.ConnectionSecurityContext#getConnectionPrincipals