Phase 5: race detector (P5-6) and the atomic_stats reference program (P5-9b)
Dynamic data-race detector for ordinary memory: vector clocks are the task-keyed part of the weak-memory views, so happens-before follows every synchronization edge already modelled; per-cell shadows with path granularity. Enabled for every conformance run test (433, no false positive); a unit test shows an unverified racy program caught on every schedule. Reference program atomic_stats in .aji and hand-written AIR by an independent author (equivalent:, 30 schedule seeds). Author feedback: 07a clarifications; Q-025 (no array construction) logged.
This commit is contained in:
1 parent
4242132b2a
commit
0879b9497b
10 files changed
+481
-10
No files matched your search
@@ -311,6 +311,8 @@ fn run(io: std.Io, arena: std.mem.Allocator, args: []const [:0]const u8, out: *s
|
||||
.limit_exceeded => .limit_exceeded,
|
||||
.not_instantiated => .not_instantiated,
|
||||
.blocked => .blocked,
|
||||
// Only with Options.detect_races, which the CLI does not set.
|
||||
.race_detected => .trapped,
|
||||
};
|
||||
}
|
||||
return switch (report.status) {
|
||||
|
||||
Reference in new issue
Block a user