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
Size isn't locked. Simultaneous puts will do weird things.
checkSize() or anything else with an iterator will also have undefined behavior.
Safest quick fix is to synchronize on the public methods, not the "cache" object. Shouldn't be all that different speed-wise, except when a cache resize happens.
The text was updated successfully, but these errors were encountered:
Size isn't locked. Simultaneous puts will do weird things.
checkSize() or anything else with an iterator will also have undefined behavior.
Safest quick fix is to synchronize on the public methods, not the "cache" object. Shouldn't be all that different speed-wise, except when a cache resize happens.
The text was updated successfully, but these errors were encountered: