Files
java-interview-lab/bookmyshow/output/04-contention.txt
T

9 lines
445 B
Plaintext

200 threads released at once, all asking for seat D4, repeated 30 times per inventory
=====================================================================================
PessimisticInventory: rounds with exactly one winner: 30 of 30
OptimisticInventory: rounds with exactly one winner: 30 of 30
Control, not asserted and timing dependent: NaiveInventory, no barrier inside it:
NaiveInventory: rounds with exactly one winner: 10 of 30