ConcurrentHashMap使用segment来分段和管理锁,segment继承自[ReentrantLock](ReentrantLock.md),因此ConcurrentHashMap使用ReentrantLock来保证线程安全。
