public static void setupObjectRegistry(ObjectRegistry objectRegistry) {
    staticRegistry = objectRegistry;
    staticPool = Executors.newCachedThreadPool(new ThreadFactoryBuilder().setNameFormat("Tez-object-cache %d").build());
  }
ObjectCache. Tez implementation based on the tez object registry.
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ObjectCache.java