presto-main/src/main/java/io/prestosql/execution/MemoryRevokingScheduler.java/MemoryRevokingScheduler/onMemoryReserved
class MemoryRevokingScheduler:    private void onMemoryReserved(MemoryPool memoryPool)
    {
        try {
            if (!memoryRevokingNeeded(memoryPool)) {
                return;
            }

            if (checkPending.compareAndSet(false, true)) {
                log.debug("Scheduling check for %s", memoryPool);
                scheduleRevoking();
            }
        }
        catch (Throwable e) {
            log.error(e, "Error when acting on memory pool reservation");
        }
    }