locks: synchronized vs ReentrantLock vs StampedLock companion code

JMH throughput sweep (1-64 threads), 9:1 read-heavy @Group benchmark,
tryLock(timeout) deadlock-avoidance demo, and a JDK21-vs-JDK25 JEP 491
virtual-thread-pinning comparison. Also promotes LICENSE to repo root
now that a second module exists.
This commit is contained in:
2026-09-30 06:04:50 +00:00
parent f548d9eeb5
commit 32b8067ecf
25 changed files with 763 additions and 6 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
target/
*.class
jmm/jcstress-results-*.bin.gz
jmm/dependency-reduced-pom.xml
jmm/post.html
*/jcstress-results-*.bin.gz
*/dependency-reduced-pom.xml
*/post.html
.DS_Store