Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15426

(7.2.z) (WF) Elytron uses parallel streams in situations that do not require then

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Security

      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

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: