You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.
The for-loop
for (IOConnection connection : list)
in that method throws ConcurrentModificationExceptions, when I create hundreds of client instances (for benchmarking purposes).
I haven't yet familiarized myself with the codebase, but when I just put a
synchronized (connections)
around the full body of that method (which is maybe too coarse) it worked fine.
FYI: In cleanup(), you already synchronize on the connections object in order to access it
The text was updated successfully, but these errors were encountered:
The for-loop
for (IOConnection connection : list)
in that method throws ConcurrentModificationExceptions, when I create hundreds of client instances (for benchmarking purposes).
I haven't yet familiarized myself with the codebase, but when I just put a
synchronized (connections)
around the full body of that method (which is maybe too coarse) it worked fine.
FYI: In cleanup(), you already synchronize on the connections object in order to access it
The text was updated successfully, but these errors were encountered: