Tag: concurrency

Documenting and Verifying Thread Safety: Javadoc, Annotations, Static Analysis, and ArchUnit

How to state thread safety in Javadoc, and how to use annotations, static analysis tools, and ArchUnit tests to keep code that is unsafe under multiple threads from being deployed.

Continue Reading