Examples of concurrent programming in Java (some of which are antipatterns, so keep your eyes open). Run ./gradlew jmh to run JMH benchmarks.