presto-main/src/main/java/io/prestosql/execution/QueryStateMachine.java/QueryStateMachine/getMemoryPool
class QueryStateMachine:    public VersionedMemoryPoolId getMemoryPool()
    {
        return memoryPool.get();
    }