private static int getCorePoolSize(int maxSize) {
    if (maxSize == Integer.MAX_VALUE) {
      return 0;
    }
    return 1;
  }
Is the current thread used for executing Functions?
geode-core/src/main/java/org/apache/geode/distributed/internal/FunctionExecutionPooledExecutor.java