diff options
| author | John Hawthorn <john@hawthorn.email> | 2025-07-18 00:02:53 -0700 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2025-07-22 09:37:13 -0700 |
| commit | 973e6770d51ce8f1ff31fca8b28335811ce16ee2 (patch) | |
| tree | 5edd90eddd05c5546f50f90a60b1efdc6d050201 /include | |
| parent | a1403fb7cbd1fe0df97c932be9814c86081783dc (diff) | |
Fix TSAN data race in gc_start
objspace->flags.immediate_sweep shares the same word as
objspace->flags.during_incremental_marking. So in gc_start we need to
assign it after gc_enter() so that we hold the VM lock and have issued a
barrier, as rb_gc_impl_writebarrier is reading
objspace->flags.during_incremental_marking.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
