Files
sdk/runtime/vm
Alexander Aprelev c47a8b0ada [vm/shared] Restore fast-path for RunWithStoppedMutators.
The fastpath was removed in https://dart.googlesource.com/sdk.git/+/bd0d029792bce2bc4b0b7fa1659d24350266b3d1 because the fastpath didn't take into account isolategroup-shared mutators and holding an active_mutators_monitor_ caused tsan-identified potential circular locking. Removal actually resulted in regressions in flutter reassemble benchmarks.

This PR restores fastpath and instead of holding active_mutators_monitor_ it just keeps track of isolategroup-shared mutators counter, which this PR adds as well.

BUG=https://github.com/flutter/flutter/issues/171722
TEST=ci, manual patch into flutter and run reload

Change-Id: I00e01d930788697c8ae91fda73b09e013e718fad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/439802
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2025-07-11 07:23:10 -07:00
..
2024-07-23 10:43:43 +00:00
2024-04-17 19:14:41 +00:00
2025-05-05 15:21:13 -07:00
2023-09-12 16:22:19 +00:00
2025-07-04 00:25:57 -07:00
2023-06-23 20:35:00 +00:00
2024-04-17 19:14:41 +00:00
2024-03-20 20:08:13 +00:00
2025-02-11 20:09:11 -08:00
2025-05-27 10:46:24 -07:00
2025-05-07 07:18:41 -07:00
2024-04-17 19:14:41 +00:00
2024-03-20 20:08:13 +00:00
2025-06-18 06:09:14 -07:00