code: public synchronized void dump() {
          if (log.isDebugEnabled()) {
              log.debug("dumping allocations {}", events.size());
              for (Entry<BaseEvent, Info> entry : events.entrySet()) {
                  log.debug("{} {}", entry.getKey(), entry.getValue().refcount);
              }
          }
      }
docs: Dumps allocations