I can't find any explanation on SO about when it's applicable to use CopyOnWriteArrayList, I mean in what situation the container suits best.
There is a question with same title, In what situations is the CopyOnWriteArrayList suitable?. However, it's closed because it duplicates against other question thread. I think both threads haven't answered the question so I launched this question thread.
For In what situations is the CopyOnWriteArrayList suitable?, it actually illuminates that the CopyOnWriteArrayList
is
very efficient if you have a List where Iteration outnumber mutation
But I didn't find the actual application scenario. For How can CopyOnWriteArrayList be thread-safe?, it actually focuses on the reason why the CompyOnWriteArrayList is thread safe.
Thanks for your answer in advance.