da8f17762c
This avoids data races when multiple mutators compete to install the card table, and allows removing the initialization check from the write barrier. TEST=ci, tsan Bug: https://github.com/dart-lang/sdk/issues/56895 Change-Id: I30fe4687d3ca771f6c00dfa59e8dadec23d557a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390023 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>