ConcurrentHashMap CAS race condition #Java

If two threads try to update the same empty bucket at the exact same time, only one thread wins, and the other fails safely. [1, 2, 3]