cow: fix stale output/06 reference in WriteThroughputBenchmark comment after output file renumbering

This commit is contained in:
Claude
2026-10-01 12:20:08 +00:00
parent 6520e7aabd
commit 8eb601aa0e
@@ -67,7 +67,7 @@ public class WriteThroughputBenchmark {
// addLast()/removeFirst() (JEP 431 default methods) instead of add(-1); remove(size()-1): // addLast()/removeFirst() (JEP 431 default methods) instead of add(-1); remove(size()-1):
// the latter reads size() and removes by that index as two separate calls, which races // the latter reads size() and removes by that index as two separate calls, which races
// under concurrent writers - a real IndexOutOfBoundsException from exactly that race is // under concurrent writers - a real IndexOutOfBoundsException from exactly that race is
// in this module's output/06-write-throughput-race.txt. addLast/removeFirst are each a // in this module's output/07-write-throughput-race.txt. addLast/removeFirst are each a
// single call with no externally-fetched index, so they stay correct under contention. // single call with no externally-fetched index, so they stay correct under contention.
s.list.addLast(-1); s.list.addLast(-1);
s.list.removeFirst(); s.list.removeFirst();