[infinispan-issues] [JBoss JIRA] (ISPN-11551) Add checkstyle to prevent invoking parallelStream

Will Burns (Jira) issues at jboss.org
Fri Mar 27 11:07:53 EDT 2020


Will Burns created ISPN-11551:
---------------------------------

             Summary: Add checkstyle to prevent invoking parallelStream
                 Key: ISPN-11551
                 URL: https://issues.redhat.com/browse/ISPN-11551
             Project: Infinispan
          Issue Type: Sub-task
            Reporter: Will Burns
            Assignee: Will Burns


Creating a Stream via parallelStream uses common thread pool threads to perform the operation. This is not what we want as we have our cpu thread pool. These callers should be updated to invoke the non blocking thread pool or just use a regular stream (latter preferred if possible).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list