2d064faf74
package:vm "clones" an old incremental compiler when creating a new one for a new isolate. It does that by calling .computeDelta on the first available compiler. If that compiler is already compiling, though, things can go bad. The risk of that happening was made bigger by awaiting in the standard filesystem instead of using the sync filesystem operations, but it can happen either way. If it has any practial importance (outside of tests) is an open quesiton but this should nevertheless fix the issue by only letting the incremental compiler allow one compile at the time (creating an implicit queue when more is tried). TEST=Existing test suites + added test. Change-Id: I694e360aa4bce604db41908730c66ef3b96e6d8b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184788 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
This package hosts VM specific Dart code and helper scripts.