Skip to content

concurrency issue with ContainerCache#163

Open
codeperfector wants to merge 2 commits into
javaswift:masterfrom
codeperfector:container-cache-concurrency
Open

concurrency issue with ContainerCache#163
codeperfector wants to merge 2 commits into
javaswift:masterfrom
codeperfector:container-cache-concurrency

Conversation

@codeperfector
Copy link
Copy Markdown

@codeperfector codeperfector commented Feb 9, 2019

This is a fix for issue #162
ContainerCache uses TreeMap which is not thread-safe. This commit uses a thread-safe ConcurrentSkipListMap instead. I also added a test that demonstrates the issue with thread-safety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant