Hi All, From what I can see the the synchronous write property of the TerracottaReadWriteLocks is never mutated during the object lifetime in any of its current usages. What's more changing this property when the lock is locked is a really bad idea. (It will lead to threads throwing IllegalMonitorStateException during unlock). With this in mind I think it would make sense to move this property to being a constructor parameter.
Thoughts? Chris _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev