New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.util.ConcurrentModificationException in X509Store.add_file #14
Comments
najs catch ... most of jruby-openssl is either "crazy" sync-ed or not at all, this seems the later :) we're probably need to make |
@kares I found this X509Utils.CRYPTO_LOCK_X509_STORE which was used (not consistently) at other places. so I went for it. if you feel we should go for better synchronized (like the COW you mentioned above) we should do it for the whole X509Store |
@mkristian probably fine - assuming |
just keep all synchronization inside the Store class and keep the synchronize "small". removed GLOBAL Store lock. part of fixing #14 Sponsored by Lookout Inc.
keep the synchronized basically restricted to write operations. follow up of #14 Sponsored by Lookout Inc.
this happens occasionally when running with 75 threads:
The text was updated successfully, but these errors were encountered: