[concurrency-interest] New bug pattern, way to common

Mark Thornton mthornton at optrak.co.uk
Fri Mar 14 16:44:42 EDT 2008


Bill Pugh wrote:
> I identified a new concurrency bug pattern that is way too common:
>
> Synchronizing on a field in order to prevent concurrent access to that  
> field.
>
>   
Intellij IDEA gives a warning if you synchronize on a non final field.

Mark Thornton



More information about the Concurrency-interest mailing list