Can a single core processor still throw ConcurrentModificationException?
问题 If I spawn 2 threads on a single core PC does it ever access for example an ArrayList in the same time so it will throw ConcurrentModificationException ? My gut tells me although there are 2 threads, they cannot achieve true parallelism because there is a single core and what it can do mostly is to jump from one thread to another but without executing an instruction such as arrayList.add(element) in the same time. 回答1: TL;DR: Yes List<String> myList = new ArrayList<String>(Arrays.asList("My