code: protected void loadChildExecutionsFromCache(ExecutionEntity execution, List<ExecutionEntity> childExecutions) {
      List<ExecutionEntity> childrenOfThisExecution = execution.getExecutions();
      if(childrenOfThisExecution != null) {
        childExecutions.addAll(childrenOfThisExecution);
        for (ExecutionEntity child : childrenOfThisExecution) {
          loadChildExecutionsFromCache(child, childExecutions);
        }
      }
    }
docs: Loads all executions that are part of this process instance tree from the dbSqlSession cache.
  (optionally querying the db if a child is not already loaded.
  
  @param execution the current root execution (already contained in childExecutions)
  @param childExecutions the list in which all child executions should be collected