4477712ba0
The GC was sometimes incorrectly calculating the "is-unboxed" bit due to shifter >= 64. The change in [0] fixed that issue and this CL is adding a regresion test. Our tests in `runtime/tests/vm/dart/*` have access to `dart:_internal`. To make the newly added test reliable we add a `collectAllGarbage()` native and use it in the test. [0] https://dart-review.googlesource.com/c/sdk/+/143000 Change-Id: Ifb3f16469a9dc58623acdb029b78807ed7fcc857 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148402 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>