private void doTwoPutAlls(VM vm, final String regionName) {
    SerializableRunnable createData = new SerializableRunnable("putAlls") {

      @Override
      public void run() {
        Cache cache = getCache();
        Region region = cache.getRegion(regionName);

        Map putAllMap = new HashMap();
        for (int i = 0; i < 9; i++) {
          putAllMap.put(i, i);
        }
        region.putAll(putAllMap);

        putAllMap.clear();
        for (int i = 10; i < 19; i++) {
          putAllMap.put(i, i);
        }
        region.putAll(putAllMap);
      }
    };

    vm.invoke(createData);
  }
Test to make sure we don't leak put all events in the event tracker after multiple putAlls
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/event/EventTrackerDUnitTest.java