5bdffcd32e
The compactor copies all live objects in old space to fresh pages, places forwarding pointers in the old objects, forwards all the pointers, then frees the old pages. This has a high space overhead. It is not meant for use in production, but meant to test that the VM is properly set up to handle old-space objects moving. Large page objects and instruction objects are not moved. Bug: https://github.com/dart-lang/sdk/issues/30978 Change-Id: Ia42683fd5e27a33702aa5e83bece803a8b005a4b Reviewed-on: https://dart-review.googlesource.com/13624 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Zach Anderson <zra@google.com> Reviewed-by: Erik Corry <erikcorry@google.com>