Code:Inconsistent synchronization AtomicBoolean and AtomicInt are not necessary when values are simply written and read and the previous value is irrelevant (e.g. AtomicInt would be needed if the value was incremented) Bugzilla Id: 52266