protected static synchronized DistributedLockStats getOrCreateStats(DistributedSystem ds) {
    if (stats == DUMMY_STATS) {
      Assert.assertTrue(ds != null, "Need an instance of InternalDistributedSystem");
      long statId = OSProcess.getId();
      stats = new DLockStats(ds, statId);
    }
    return stats;
  }
Get or create static dlock stats
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java