presto-main/src/main/java/io/prestosql/operator/ReferenceCount.java/ReferenceCount/retain
class ReferenceCount:    public synchronized void retain()
    {
        checkState(!freeFuture.isDone(), "Reference has already been freed");
        count++;
    }