codahale/metrics — comment on commit 814e3d21c793d9980826583a6356488f5fdc8017
File:  line 0
By daggerrz:

Locking for rescale makes sense, but as that does not set a lock barrier for the update calls, it will not solve the case I described where updates are interleaved with the values.clear() and count.set(0) calls, will it?. Maybe both locks should be set.

Sorry about the tabs - command line editing. :)