Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
8 lines
367 B
Plaintext
8 lines
367 B
Plaintext
8 threads x 20000 increments of one key: the atomic forms are exact on every run
|
|
================================================================================
|
|
|
|
expected: 160000
|
|
ConcurrentHashMap.merge 160000
|
|
ConcurrentHashMap.compute 160000
|
|
HashMap + synchronized(map) around merge 160000
|