Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2849 Don't keep threads blocked when waiting for locks to be released
  3. ISPN-5603

Make BlockingTaskAwareExecutorService.checkForReadyTasks() asynchronous

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta2
    • None
    • Core
    • None

      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.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: