Closed
Description
When sending a large typed data through a message port, there is an optimization to convert it to an external typed data (
sdk/runtime/vm/raw_object_snapshot.cc
Lines 1945 to 1961 in f3c51a4
As a workaround to these problems, the optimization of converting typed data to external will be put under a flag and disabled by default. However, we still need to find a way to do less copying when sending large amount of data through message ports, preferably without morphing object types.