Open dcharkes opened 1 year ago
I suspect thread T18 has published a new function into an ICData entry array etc, with release stores, and T22 has picked it up and passed it to the lazy compile stub, but the IC stub running on T22 doesn't have acquire loads that let TSAN know that things are ordered.
@aam Didn't we used to have a RunWithStoppedMutators/safepoint around updating a switchable call?
@aam Didn't we used to have a RunWithStoppedMutators/safepoint around updating a switchable call?
https://github.com/dart-lang/sdk/blob/main/runtime/vm/runtime_entry.cc#L2528
// Mutators are only stopped if we actually need to patch a patchable call.
// We may not do that if we e.g. just add one more check to an ICData.
Data race on object header (class id) between
DRT_HelperCompileFunction
andFreeList
.From the isolate stress test builder:
log: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8767628529537305665/+/u/collect_shards/Run_Isolate_Stress_Tests_shard_3/task_stdout_stderr:_Run_Isolate_Stress_Tests_shard_3
The isolate stress test bot has been green for a while. So either this failure is very unlikely to be caught, or we landed something recently. I don't see any VM commits related to GC in the last week.
cc @rmacnak-google