Sanne/JGroups — comment on commit 8964dc8f2f0c502f6dfd6d7b7df81dcc664d7415
File:  line 0
By belaban:

I actually replaced the read-write lock with a simple lock, as suggested by Dan.
I do *not* want to acquire the lock for the first 4 methods, as they're mainly called via JMX (jconsole), and I can live with stale values here, e.g. for size().
NRW.compact(), however, should be locked (good catch), even if it is triggered via JMX (e.g. via a user). I changed this.
Thanks !