dart-sdk/runtime/lib
Ryan Macnak d8c5f19e01 [vm] Remove hard-coded prohibition of using Isolate.spawnUri with AOT.
This was originally added to prevent fork bombs in our test suite. Early versions of AOT for the standalone VM loaded the AOT program based on LD_LIBRARY_PATH instead of the command line arguments, so tests the tried to spawn a second script spawned themselves. The VM snapshot has since also been changed to be the same for every app, and some embedders already load multiple apps into the same process using the C API.

Embedders can still block any Isolate.spawn or spawnUri in the C callbacks if they don't want to implement loading for secondary isolates.

Change-Id: I4a4beda2a797ce26367350298eaafd7e53256b3b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152592
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-08-04 18:15:49 +00:00
..
array.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
async.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
async_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
bool.cc Add bool.hasEnvironment constructor and tests 2020-03-16 11:17:58 +00:00
class_id.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
collection_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
convert_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
core_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
date.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
developer.cc [vm] Remove FLAG_support_service and FLAG_support_reload, superseded by PRODUCT define. 2020-02-04 23:31:17 +00:00
developer_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
double.cc [vm] Fix various UBSan failures. 2020-05-07 19:40:18 +00:00
errors.cc [vm/nnbd] Non-null assertions in NNBD weak mode 2020-06-18 20:02:42 +00:00
ffi.cc [vm/ffi] Expose a subset of dart_(native_)api.h for dynamic linking. 2020-06-18 07:30:43 +00:00
ffi_dynamic_library.cc [build] Support --clang when building dart sdk on Windows. 2020-06-25 03:36:41 +00:00
ffi_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
function.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
growable_array.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
identical.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
integers.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
internal_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
invocation_mirror.h Revert "Revert "Dart Core Lib change to support generic functions in class NoSuchMethodError."" 2017-09-28 00:27:24 +00:00
isolate.cc [vm] Remove hard-coded prohibition of using Isolate.spawnUri with AOT. 2020-08-04 18:15:49 +00:00
isolate_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
libgen_in.cc Windows: Link library sources into gen_snapshot/dart_bootstrap 2017-02-01 15:55:59 -08:00
linked_hash_map.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
math.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
math_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
mirrors.cc [vm] Reland "Remove non-covariant checks from closure bodies (part 1)" 2020-07-21 10:00:41 +00:00
mirrors.h [VM] Implement isExtensionMember in MethodMirror and VariableMirror 2019-10-09 00:27:30 +00:00
mirrors_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
object.cc [vm/resolve] Use Resolver instead of Lookup in while-loop. 2020-07-29 15:48:15 +00:00
profiler.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
profiler_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
regexp.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
simd128.cc [ VM / dart:typed_data ] Change fmaxf/fminf to fmax/fmin for Float64x2.clamp 2020-02-04 01:06:19 +00:00
stacktrace.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
stacktrace.h [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
stopwatch.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
string.cc [vm] Add _allocate and _setAt methods to _TwoByteString. 2020-05-12 17:33:50 +00:00
timeline.cc [vm, timeline] Following switch from Duration events to Begin-End event pairs, avoid separate native call transitions to query the monotonic and thread clocks. 2020-01-02 23:13:06 +00:00
typed_data.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
typed_data_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
uri.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
vmservice.cc [ VM / Service ] Remove _spawnUri RPC from VM service 2020-05-05 00:47:37 +00:00
vmservice_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
wasm.cc [vm] Represent tagged pointers as C++ value types instead of C++ pointer types. 2020-04-25 05:21:27 +00:00
wasm_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
weak_property.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00