Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9322

Elytron uses parallel streams in situations that do not require then

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  honza889 Jan Kalina
                  Reporter:
                  honza889 Jan Kalina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: