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

Elytron uses parallel streams in situations that do not require then

XMLWordPrintable

      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

              jkalina@redhat.com Jan Kalina (Inactive)
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: