我正在使用以下构造来创建线程安全Map.
Map
Collections.synchronizedMap(new LinkedHashMap());
虽然我收到了ConcurrentModificationException错误.
ConcurrentModificationException
java concurrency multithreading thread-safety
concurrency ×1
java ×1
multithreading ×1
thread-safety ×1