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

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


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

Jan Kalina moved JBEAP-13078 to WFLY-9322:
------------------------------------------

        Project: WildFly  (was: JBoss Enterprise Application Platform)
            Key: WFLY-9322  (was: JBEAP-13078)
       Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
    Component/s: Security
                     (was: Security)


> 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
>              Labels: eap72
>
> 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