[jboss-jira] [JBoss JIRA] (ELY-1361) Elytron uses parallel streams in situations that do not require then

Jan Kalina (JIRA) issues at jboss.org
Fri Sep 8 06:24:00 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina updated ELY-1361:
----------------------------
    Labels:   (was: eap72)


> Elytron uses parallel streams in situations that do not require then
> --------------------------------------------------------------------
>
>                 Key: ELY-1361
>                 URL: https://issues.jboss.org/browse/ELY-1361
>             Project: WildFly Elytron
>          Issue Type: Bug
>            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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list