HashMap是多线程非安全的 因为是线程非安全,没有加锁,HashMap的性能肯定是要高于HashTable的,所以一般情况下使用HashMap,在多线程的情况下使用HashTable。 HashTable是线程安全的