@Override
    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (!(obj instanceof LockId)) {
        return false;
      }
      LockId other = (LockId) obj;
      if (serviceName == null) {
        if (other.serviceName != null) {
          return false;
        }
      } else if (!serviceName.equals(other.serviceName)) {
        return false;
      }
      if (tokenName == null) {
        return other.tokenName == null;
      } else
        return tokenName.equals(other.tokenName);
    }
Report dependencies on dlocks that exist in theis VM.
geode-core/src/main/java/org/apache/geode/distributed/internal/deadlock/DLockDependencyMonitor.java