presto-main/src/main/java/io/prestosql/execution/buffer/ArbitraryOutputBuffer.java/MasterBuffer/addPages
class MasterBuffer:        public synchronized void addPages(List<SerializedPageReference> pages)
        {
            masterBuffer.addAll(pages);
            bufferedPages.set(masterBuffer.size());
        }