private void basicRemoveGrantToken(DLockGrantToken grantToken) {
    Object removed = grantTokens.remove(grantToken.getName()); // changed to ref token
    if (removed != null) {
      Assert.assertTrue(removed == grantToken);
      grantToken.destroy();
      if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) {
        logger.trace(LogMarker.DLS_VERBOSE,
            "[DLockGrantor.basicRemoveGrantToken] removed {}; removed={}", grantToken, removed);
      }
    }
  }
Removes the grant token from the map.
<p>
Caller must synchronize on grantTokens and then the grantToken.

@param grantToken the grant token to remove from the map. guarded.By {@link #grantTokens} and
       grantToken
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java