方法一:List<String> list = Collections.synchronizedList(new LinkedList<String>()); 方法二:将LinkedList全部换成ConcurrentLinkedQueue