code: public synchronized void executeNewReadyTasks() {
          List<BuildTask> newReadyTasks = extractReadyTasks();
          log.debug("starting new ready tasks. New ready tasks: {}", newReadyTasks);
          readyTasks.addAll(newReadyTasks);
      }
docs: Trigger searching for ready tasks in the waiting queue.
  This method should be invoked if one task has finished and there's a possibility that other tasks became ready to be built.