Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.

java.util.ConcurrentModificationException #124

Open
CSnowStack opened this issue Jun 1, 2018 · 0 comments
Open

java.util.ConcurrentModificationException #124

CSnowStack opened this issue Jun 1, 2018 · 0 comments

Comments

@CSnowStack
Copy link

Call multiple threads at the same time

throws java.util.ConcurrentModificationException

My temporary solution

// ReferenceMapMemory.class,line 31
 referenceMap = Collections.synchronizedMap(new io.rx_cache2.internal.cache.memory.apache.ReferenceMap<String, Record>());
//replace with 
referenceMap =new ConcurrentHashMap<>();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant