docs: private void baseInstanceModified() {
          ContextServiceImpl[] listeners;
  
          lock.writeLock().lock();
          try {
              listeners = modificationListeners.toArray(new ContextServiceImpl[modificationListeners.size()]);
              modificationListeners.clear();
              threadContextConfigurations = null;
          } finally {
              lock.writeLock().unlock();
          }
  
          for (ContextServiceImpl listener : listeners)
              listener.baseInstanceModified();
      }