How does ConcurrentHashMap achieve thread safety internally?

Technical