[infinispan-issues] [JBoss JIRA] (ISPN-5603) Make BlockingTaskAwareExecutorService.checkForReadyTasks() asynchronous

Pedro Ruivo (JIRA) issues at jboss.org
Tue Jul 14 09:14:02 EDT 2015


Pedro Ruivo created ISPN-5603:
---------------------------------

             Summary: Make BlockingTaskAwareExecutorService.checkForReadyTasks() asynchronous
                 Key: ISPN-5603
                 URL: https://issues.jboss.org/browse/ISPN-5603
             Project: Infinispan
          Issue Type: Sub-task
          Components: Core
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo


With the new locking, when locks are released we need to unblock possible queued commands waiting for the lock. Since this method can be invoked quite often, it is not desire to have the invocation thread doing the checks and moving tasks (and they can be executed if configured with RunCallersPolicy).

Moving the check to a different thread is needed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list