Closed
Description
I believe we don't set the ImmutableBit
when deserializing from appjit snapshots.
sdk/runtime/vm/app_snapshot.cc
Lines 869 to 883 in 0f1addd
This leads to objects being copied instead of being shared on SendPort.send
.
cc @mkustermann
Edit: Can be exercised with https://dart-review.googlesource.com/c/sdk/+/354902/17..18 and tools/build.py -mdebug create_platform_sdk runtime && tools/test.py -n vm-appjit-linux-debug-x64 lib/isolate/illegal_msg_mirror_test
.