HashTable 类是线程安全的,它使用 synchronized 来做线程安全,全局只有一把锁,在线程竞争比较激烈的情况下hashtable的效率是比较低下的 Previous Java 基础 HashMap Next Java 基础 LinkedHashMap CATALOG FEATURED TAGS redis go mysql algorithm distribute jvm network spring java kafka mongo mq concurrent index design_pattern io rocket_mq store netty os concurrency nosql mesh etcd graph hbase kitex lang zookeeper FRIENDS