dart-sdk/sdk/lib
Ben Konyi 3849b5061c Revert "[ VM / DartDev ] Launch DartDev in an isolate within a single main Dart process"
This reverts commit ffe258d2d4.

Reason for revert: Failures on bots

Original change's description:
> [ VM / DartDev ] Launch DartDev in an isolate within a single main Dart process
> 
> This CL changes how DartDev is run and how the run command handles executing a Dart program (will port additional commands in a separate CL). Rather than using DartDev to spawn a child process to run user code, the VM will instead launch a DartDev isolate after doing some VM options processing. DartDev will communicate information like exit codes and script/arg pairs with the VM via isolate ports. Once DartDev runs to completion and notifies the VM that a script should be run, the VM will move on to spawning another isolate with user code and continue executing in the same VM process.
> 
> By moving DartDev into an isolate within the same process that user code will eventually run in we're able to resolve the following issues that arose due to signal handling and IPC issues:
> 
> VM hangs when --enable-vm-service is supplied and there are compile time errors (https://github.com/dart-lang/sdk/issues/42630)
> Dart daemon spinning in exit code handler / zombie Dart processes (https://github.com/dart-lang/sdk/issues/41978)
> Signal handling in children of 'dartdev run' is problematic (https://github.com/dart-lang/sdk/issues/41978)
> 
> Change-Id: I1c6b1425831b691ad20284716aa80f817dbaf607
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152588
> Commit-Queue: Ben Konyi <bkonyi@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>
> Reviewed-by: Ryan Macnak <rmacnak@google.com>

TBR=bkonyi@google.com,rmacnak@google.com,asiva@google.com

Change-Id: Idb1d24a4524bdc3ccfb199a82710f3c0d9db539a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154702
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2020-07-16 19:50:57 +00:00
..
_http Stop supporting 'target?.[index]' and QUESTION_PERIOD_OPEN_SQUARE_BRACKET. 2020-07-14 14:36:19 +00:00
_internal Revert "[ VM / DartDev ] Launch DartDev in an isolate within a single main Dart process" 2020-07-16 19:50:57 +00:00
async Fix a number of outdated references to dartlang.org in doc comments 2020-07-15 01:11:03 +00:00
cli [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
collection Update ListMixin/ListBase documentation and insert for Null Safety. 2020-07-14 11:04:08 +00:00
convert [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
core Fix a number of outdated references to dartlang.org in doc comments 2020-07-15 01:11:03 +00:00
developer [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
ffi [vm/ffi] Expose a subset of dart_(native_)api.h for dynamic linking. 2020-06-18 07:30:43 +00:00
html [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
indexed_db/dart2js [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
internal Revert "Move BytesBuilder class and implementation to dart:typed_data." 2020-07-15 21:35:35 +00:00
io Revert "Move BytesBuilder class and implementation to dart:typed_data." 2020-07-15 21:35:35 +00:00
isolate [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
js [cfe] Check optional non-nullable parameters in constructors 2020-06-18 18:07:06 +00:00
js_util [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
math [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
mirrors [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
svg/dart2js [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
typed_data Revert "Move BytesBuilder class and implementation to dart:typed_data." 2020-07-15 21:35:35 +00:00
vmservice [ VM / Service ] Remove unnecessary nesting of result objects for 2020-06-17 20:08:20 +00:00
wasm [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
web_audio/dart2js [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
web_gl/dart2js [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
web_sql/dart2js [dart:html] Revert "[dart:html] Revert commits using MDN compatibility info" 2020-07-14 23:18:43 +00:00
libraries.json [web] remove mirrors patch for web compilers. 2020-07-16 00:12:22 +00:00
libraries.yaml [web] remove mirrors patch for web compilers. 2020-07-16 00:12:22 +00:00
vmservice_libraries.json [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
vmservice_libraries.yaml [ VM ] Move vmservice_io code from runtime/bin to dart:_internal/vm/bin 2020-01-14 01:42:14 +00:00