All Questions
Tagged with java-failsafe concurrency
2 questions
3
votes
1
answer
747
views
How does ConcurrentSkipListSet has Iterators that are weakly consistent? Understanding meaning of 'weakly consistent'
Fail-fast iterator iterates over collection. If collection gets modified while iterating, we get exception. Opposite applies for fail-safe, where iteration is happening on one collection, while write ...
4
votes
1
answer
63
views
Why I'm not getting ConcurrentModificationException while removing element from ArrayList during iteration [duplicate]
I am using the following code to loop through an arraylist and then removing one element from the arraylist.
Here i'm expecting ConcurrentModificationException. But didn't get that exception. ...