void (int pageSize) { int pagesMapped = totalPagesMapped.incrementAndGet(); totalBytesMapped.addAndGet(pageSize); if (pagesMapped > PAGES_TO_WARN_THRESHOLD) { THROTTLED_LOG.warn("Too many pages were mapped: " + pagesMapped + " > " + PAGES_TO_WARN_THRESHOLD + " threshold. " + "Total mapped size: " + totalBytesMapped.get() + " bytes, storages: " + openedStoragesCount); } }