Files
sdk/runtime
Martin Kustermann 9c69bc4c6d [vm] Mark Type objects as sharable - even non-canonicalized ones
Fixes VM crash in object-copy implementation where non-canonicalized,
non-constant types are sent across `SendPort`s.

We were already sharing

* `TypeArgument`s and anything they refer to
* `Type`s that from type literals that are constant

What was missing was

* `Type`s coming from type literals that had to be instantiated

TEST=vm/dart/isolates/fast_object_copy2_test

Change-Id: I06d85d9849519cd185394efb5aec6a316a763f16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355440
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2024-03-05 08:25:39 +00:00
..
2024-02-29 11:18:51 +00:00
2024-02-29 11:18:51 +00:00
2024-02-14 00:08:30 +00:00