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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: