зеркало из https://github.com/mozilla/gecko-dev.git
99b496e846
Concurrency bug: this method accesses mutable state but is not synchronized so the caller isn't guaranteed to see the latest values. We fix it by using an AtomicReference. This slightly complicates the thread policy (which is to otherwise synchronize access to mutable state) but avoids the increased contention that could come from using synchronized for consistency. This is the only concurrency bug I found throughout my thread safety documentation. Differential Revision: https://phabricator.services.mozilla.com/D139199 |
||
---|---|---|
.. | ||
src | ||
api.txt | ||
build.gradle | ||
checkstyle-suppressions.xml | ||
checkstyle.xml | ||
proguard-rules.txt |