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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: