protected void dumpService() {
    synchronized (grantTokens) {
      StringBuilder buffer = new StringBuilder();
      buffer.append("DLockGrantor.dumpService() for ").append(this);
      buffer.append("\n").append(grantTokens.size()).append(" grantTokens\n");
      for (final Object o : grantTokens.entrySet()) {
        Map.Entry entry = (Map.Entry) o;
        buffer.append("    ").append(entry.getKey()).append(": ");
        DLockGrantToken token = (DLockGrantToken) entry.getValue();
        buffer.append(token.toString()).append("\n");
      }
      logger.info(LogMarker.DLS_MARKER, "{}", buffer);
      logger.info(LogMarker.DLS_MARKER, "{}",
          "\nreadLockCountMap:\n" + readLockCountMap);
    }
  }
TEST HOOK: Logs all grant tokens and other lock information for this service at INFO level.
<p>
Synchronizes on grantTokens.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java