public void exchangeProfiles() {
    Assert.assertHoldsLock(this, false); // causes deadlock
    Assert.assertHoldsLock(initializeLock, true);
    new UpdateAttributesProcessor(getAdvisee()).distribute(true);
    setInitialized();
  }
exchange profiles to initialize this advisor
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java