1 <p> The fields of this class appear to be accessed inconsistently with respect
2 to synchronization. This bug report indicates that the bug pattern detector
6 <li> The class contains a mix of locked and unlocked accesses,</li>
7 <li> At least one locked access was performed by one of the class's own methods, and</li>
8 <li> The number of unsynchronized field accesses (reads and writes) was no more than
9 one third of all accesses, with writes being weighed twice as high as reads</li>
12 <p> A typical bug matching this bug pattern is forgetting to synchronize
13 one of the methods in a class that is intended to be thread-safe.</p>
15 <p> Note that there are various sources of inaccuracy in this detector;
16 for example, the detector cannot statically detect all situations in which
17 a lock is held. Also, even when the detector is accurate in
18 distinguishing locked vs. unlocked accesses, the code in question may still