9f2455796f
Code references other objects via object pools. In bare instructions mode individual objects pool are merged together into a global object pool, which means that we no longer can clearly see which objects are referenced by each individual code object. This CL adds logic into snapshot writer to include these implicit references into the snapshot profile. We achieve this by keeping individual object pools around (but avoiding writing them into the snapshot itself). R=sjindel@google.com Change-Id: I35b48fcfc26c0a8c0b66593139fa7ac8e627da6c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136626 Commit-Queue: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Samir Jindel <sjindel@google.com>