code: public static MethodHandle constructorMethodHandle(StandardErrorCode errorCode, Class<?> clazz, Class<?>... parameterTypes)
      {
          try {
              return MethodHandles.lookup().unreflectConstructor(clazz.getConstructor(parameterTypes));
          }
          catch (IllegalAccessException | NoSuchMethodException e) {
              throw new PrestoException(errorCode, e);
          }
      }
docs: Returns a MethodHandle corresponding to the specified constructor.
  <p>
  Warning: The way Oracle JVM implements producing MethodHandle for a constructor involves
  creating JNI global weak references. G1 processes such references serially. As a result,
  calling this method in a tight loop can create significant GC pressure and significantly
  increase application pause time.