e171ff4a6d
Do not lock forwarding table during snapshot writing: This is a follow-up to [0], which made the [WeakTable] used during snapshot writing per isolate. Since each isolate has it's own table now, there's not reason to lock it during snapshot writing. Furthermore we speed up RawObject::InVMIsolateHeap() which was super slow due to locking "vm-isolate"'s page space and walking all pages. [0] https://dart-review.googlesource.com/c/sdk/+/114858 Issue https://github.com/dart-lang/sdk/issues/36097 Change-Id: I783ea6083c199058e76895fcde38dc06af6991d2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134299 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>