Files
java-interview-lab/splitwise/output/06b-concurrency-control.txt
T

7 lines
296 B
Plaintext

Control: the same idea without a lock (timing dependent: the figure differs every run)
======================================================================================
expected total: 1600000
actual total: 740725
updates lost: 859275 (always zero or more, and usually well above zero)