Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1361

Elytron uses parallel streams in situations that do not require then

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Beta1
    • None
    • None
    • None

      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:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: