private synchronized void initializeBlocks() {
		blocks = adapter.getMemoryBlocks();
		lastBlock = null;
		nameBlockMap = new HashMap<>();
		addrSetViews = null; // signal stale views
		addrMap.memoryMapChanged(this);
		if (program != null) {
			program.getAddressFactory().invalidateOverlayCache();
		}
	}
Update address sets with relevant addresses from the specified memory block. 
In addition, allAddrSet will be updated if addToAll parameter is true.

@param block memory block to be added
@param newAddrSetViews address set views which should be built-up
@param newAllAddrs if not null this set will be updated with the specified block's address range,
otherwise only the {@code addrSetView} sets will be updated.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java