protected OverlayAddressSpace overlaySpaceRenamed(String oldOverlaySpaceName, String newName) {
		if (spaceNameTable.get(newName) != null) {
			throw new AssertionError("Address space named " + newName + " already exists!");
		}
		AddressSpace space = spaceNameTable.get(oldOverlaySpaceName);
		if (space instanceof OverlayAddressSpace os) {
			if (!newName.equals(os.getName())) {
				throw new AssertionError(
					"Overlay space " + oldOverlaySpaceName + " was not renamed");
			}
			spaceNameTable.remove(oldOverlaySpaceName);
			spaceNameTable.put(newName, os);
			return os;
		}
		throw new AssertionError("Overlay space not found: " + oldOverlaySpaceName);
	}
Update address factory map <b>following</b> the rename of an overlay address space instance.  
The caller is reponsible for the actual renaming of the existing overlay space instance and 
must ensure the newName is not already assigned to another space.
@param oldOverlaySpaceName previous name of existing overlay space
@param newName new name for existing overlay space
@return overlay space instance which was renamed
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java