public void startGiiQueueing() {
    giiLock.writeLock().lock();
    giiCount.incrementAndGet();
    if (logger.isDebugEnabled()) {
      logger.debug("{}: startGiiQueueing count is now {}", regionName, giiCount.get());
    }
    giiLock.writeLock().unlock();
  }
while serving a GII request we queue put()s in a list so that the GII image is not modified.
This keeps the chunking iteration from sometimes seeing a later event but missing an older
event. Bug #41681
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java