e31c7ff591
Right now a message handler is taking care of detecting idle timeouts and notifying the isolate (or rather it's heap) that a compaction can start. Once we move the heap to the isolate group, we should only notify the heap that we're idle if *all* isolates are idle. As a preparatory step we move the idle timer functionality into it's own class and make the isolate own it. When the heap gets moved from isolate to isolate group, we'll also move the idle time handler. Issue https://github.com/dart-lang/sdk/issues/36097 Change-Id: If9b244baf0425ef343f909ee3a8a1147f966845b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116200 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>