Disable TSAN for rb_gc_mark_machine_context

Previously this was listed as a suppression, but we actually want this
permanently unsanitized. This should be faster and more reliable since
TASN won't have to match against symbolicated backtraces.
This commit is contained in:
John Hawthorn 2025-07-18 16:06:17 -07:00
parent 3ad2019259
commit 7f25b8f5fb
3 changed files with 11 additions and 4 deletions

View file

@ -104,10 +104,6 @@ race_top:encoded_iseq_trace_instrument
race:rb_iseq_trace_set_all
race:rb_tracepoint_enable
# We walk the machine stack looking for markable objects, a thread with the GVL
# released could by mutating the stack with non-Ruby-objects
race:rb_gc_mark_machine_context
# GC enable/disable flag modifications race with object allocation flag reads
race_top:rb_gc_impl_gc_disable
race_top:rb_gc_impl_gc_enable