presto-main/src/main/java/io/prestosql/operator/exchange/LocalExchange.java/LocalExchange/checkNotHoldsLock
class LocalExchange:    private static void checkNotHoldsLock(Object lock)
    {
        checkState(!Thread.holdsLock(lock), "Can not execute this method while holding a lock");
    }