I understand that we can iterate over a ConcurrentHashMap on one thread while another thread is writing a particular segment on the map.
In the case where the iterator is accessing a segment that is being written to by another thread, does the iterator block, or is it reading from a clone of the segment?