From 6b3abe0a9837802b49bd76597bb96dfa724e07ea Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Wed, 27 Jan 2021 17:11:29 +0000 Subject: [PATCH] [vm/concurrency] Add --experimental_enable_isolate_groups_jit flag, make --enable_isolate_groups AOT only. Issue b/177800357. TEST=existing test suite Change-Id: Id6b113932ab7014b8fa6c105845c5c490b60f5e8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/181320 Commit-Queue: Alexander Aprelev Reviewed-by: Vyacheslav Egorov --- runtime/lib/isolate.cc | 2 +- .../dart_api_create_lightweight_isolate_test.dart | 14 ++++++++++---- .../vm/dart/isolates/fibonacci_call_ig_test.dart | 2 +- .../vm/dart/isolates/fibonacci_call_test.dart | 2 +- .../dart/isolates/limited_active_mutator_test.dart | 2 +- .../vm/dart/isolates/ring_gc_sendAndExit_test.dart | 2 +- runtime/tests/vm/dart/isolates/ring_gc_test.dart | 2 +- .../vm/dart/isolates/spawn_function_test.dart | 2 +- .../dart/isolates/sum_recursive_call_ig_test.dart | 2 +- .../vm/dart/isolates/sum_recursive_call_test.dart | 2 +- .../isolates/sum_recursive_tail_call_ig_test.dart | 2 +- .../isolates/sum_recursive_tail_call_test.dart | 2 +- .../tests/vm/dart/isolates/thread_pool_test.dart | 2 +- runtime/tests/vm/dart/issue_31959_31960_test.dart | 2 +- runtime/tests/vm/dart/sendandexit_test.dart | 2 +- .../tests/vm/dart/spawn_infinite_loop_test.dart | 2 +- runtime/tests/vm/dart/transferable_test.dart | 2 +- .../tests/vm/dart/transferable_throws_test.dart | 2 +- .../dart_api_create_lightweight_isolate_test.dart | 14 ++++++++++---- .../vm/dart_2/isolates/fibonacci_call_ig_test.dart | 2 +- .../vm/dart_2/isolates/fibonacci_call_test.dart | 2 +- .../isolates/limited_active_mutator_test.dart | 2 +- .../dart_2/isolates/ring_gc_sendAndExit_test.dart | 2 +- runtime/tests/vm/dart_2/isolates/ring_gc_test.dart | 2 +- .../vm/dart_2/isolates/spawn_function_test.dart | 2 +- .../isolates/sum_recursive_call_ig_test.dart | 2 +- .../dart_2/isolates/sum_recursive_call_test.dart | 2 +- .../isolates/sum_recursive_tail_call_ig_test.dart | 2 +- .../isolates/sum_recursive_tail_call_test.dart | 2 +- .../tests/vm/dart_2/isolates/thread_pool_test.dart | 2 +- .../tests/vm/dart_2/issue_31959_31960_test.dart | 2 +- runtime/tests/vm/dart_2/sendandexit_test.dart | 2 +- .../tests/vm/dart_2/spawn_infinite_loop_test.dart | 2 +- runtime/tests/vm/dart_2/transferable_test.dart | 2 +- .../tests/vm/dart_2/transferable_throws_test.dart | 2 +- runtime/vm/compiler/backend/flow_graph_compiler.cc | 5 +++-- runtime/vm/compiler/jit/compiler.cc | 4 ++-- runtime/vm/dart_api_impl.cc | 2 +- runtime/vm/flag_list.h | 7 ++++++- runtime/vm/flags.cc | 3 ++- runtime/vm/heap/heap_test.cc | 4 ++-- runtime/vm/heap/verifier.cc | 2 +- runtime/vm/isolate.cc | 8 ++++---- runtime/vm/isolate.h | 14 ++++++++++++++ runtime/vm/isolate_reload.cc | 2 +- runtime/vm/runtime_entry.cc | 4 ++-- runtime/vm/symbols.cc | 6 +++--- tests/ffi/snapshot_test.dart | 2 +- tests/ffi/vmspecific_function_callbacks_test.dart | 2 +- tests/ffi_2/snapshot_test.dart | 2 +- .../ffi_2/vmspecific_function_callbacks_test.dart | 2 +- tests/language/regress/regress23244_test.dart | 2 +- .../vm/optimized_guarded_field_isolates_test.dart | 2 +- tests/language_2/regress/regress23244_test.dart | 2 +- .../vm/optimized_guarded_field_isolates_test.dart | 2 +- .../bool_from_environment_default_value_test.dart | 2 +- tests/lib/isolate/capability_test.dart | 2 +- tests/lib/isolate/compile_time_error_test.dart | 2 +- tests/lib/isolate/count_test.dart | 2 +- tests/lib/isolate/cross_isolate_message_test.dart | 2 +- tests/lib/isolate/deferred_in_isolate2_test.dart | 2 +- tests/lib/isolate/deferred_in_isolate_test.dart | 2 +- tests/lib/isolate/enum_const_test.dart | 2 +- tests/lib/isolate/error_at_spawn_test.dart | 2 +- tests/lib/isolate/error_at_spawnuri_test.dart | 2 +- tests/lib/isolate/error_exit_at_spawn_test.dart | 2 +- tests/lib/isolate/error_exit_at_spawnuri_test.dart | 2 +- tests/lib/isolate/exit_at_spawn_test.dart | 2 +- tests/lib/isolate/exit_at_spawnuri_test.dart | 2 +- tests/lib/isolate/function_send1_test.dart | 2 +- tests/lib/isolate/function_send_test.dart | 2 +- tests/lib/isolate/handle_error2_test.dart | 2 +- tests/lib/isolate/handle_error3_test.dart | 2 +- tests/lib/isolate/handle_error_test.dart | 2 +- tests/lib/isolate/illegal_msg_function_test.dart | 2 +- tests/lib/isolate/illegal_msg_mirror_test.dart | 2 +- tests/lib/isolate/int32_length_overflow_test.dart | 2 +- .../int_from_environment_default_value_test.dart | 2 +- .../lib/isolate/isolate_complex_messages_test.dart | 2 +- tests/lib/isolate/isolate_current_test.dart | 2 +- tests/lib/isolate/isolate_import_test.dart | 2 +- .../isolate/issue_21398_parent_isolate1_test.dart | 2 +- .../isolate/issue_21398_parent_isolate2_test.dart | 2 +- .../isolate/issue_21398_parent_isolate_test.dart | 2 +- tests/lib/isolate/issue_22778_test.dart | 2 +- .../isolate/issue_24243_parent_isolate_test.dart | 2 +- tests/lib/isolate/issue_35626_test.dart | 2 +- tests/lib/isolate/issue_6610_test.dart | 2 +- tests/lib/isolate/kill2_test.dart | 2 +- .../lib/isolate/kill_self_synchronously_test.dart | 2 +- tests/lib/isolate/kill_self_test.dart | 2 +- tests/lib/isolate/kill_test.dart | 2 +- tests/lib/isolate/large_byte_data_leak_test.dart | 2 +- tests/lib/isolate/large_byte_data_test.dart | 2 +- tests/lib/isolate/mandel_isolate_test.dart | 2 +- tests/lib/isolate/message2_test.dart | 2 +- tests/lib/isolate/message3_test.dart | 2 +- tests/lib/isolate/message4_test.dart | 2 +- .../message_const_type_arguments_1_test.dart | 2 +- .../message_const_type_arguments_2_test.dart | 2 +- tests/lib/isolate/message_enum_test.dart | 2 +- tests/lib/isolate/message_test.dart | 2 +- tests/lib/isolate/mint_maker_test.dart | 2 +- tests/lib/isolate/native_wrapper_message_test.dart | 2 +- tests/lib/isolate/nested_spawn2_test.dart | 2 +- tests/lib/isolate/nested_spawn_test.dart | 2 +- ...non_fatal_exception_in_timer_callback_test.dart | 2 +- tests/lib/isolate/object_leak_test.dart | 2 +- tests/lib/isolate/ondone_test.dart | 2 +- tests/lib/isolate/package_config_test.dart | 2 +- tests/lib/isolate/package_resolve_test.dart | 2 +- tests/lib/isolate/package_root_test.dart | 2 +- tests/lib/isolate/pause_test.dart | 2 +- tests/lib/isolate/ping_pause_test.dart | 2 +- tests/lib/isolate/ping_test.dart | 2 +- tests/lib/isolate/port_test.dart | 2 +- tests/lib/isolate/raw_port_test.dart | 2 +- tests/lib/isolate/regress_34752_test.dart | 2 +- tests/lib/isolate/regress_flutter_22796_test.dart | 2 +- tests/lib/isolate/request_reply_test.dart | 2 +- tests/lib/isolate/resolve_package_uri_test.dart | 2 +- .../package_resolve_test.dart | 2 +- tests/lib/isolate/send_private_test.dart | 2 +- tests/lib/isolate/simple_message_test.dart | 2 +- .../isolate/spawn_function_custom_class_test.dart | 2 +- tests/lib/isolate/spawn_function_test.dart | 2 +- tests/lib/isolate/spawn_generic_test.dart | 2 +- .../lib/isolate/spawn_uri_exported_main_test.dart | 2 +- tests/lib/isolate/spawn_uri_fail_test.dart | 2 +- .../spawn_uri_missing_from_isolate_test.dart | 2 +- tests/lib/isolate/spawn_uri_missing_test.dart | 2 +- tests/lib/isolate/spawn_uri_multi_test.dart | 2 +- tests/lib/isolate/spawn_uri_nested_vm_test.dart | 2 +- tests/lib/isolate/spawn_uri_test.dart | 2 +- tests/lib/isolate/spawn_uri_vm_test.dart | 2 +- tests/lib/isolate/start_paused_test.dart | 2 +- tests/lib/isolate/static_function_test.dart | 2 +- ...string_from_environment_default_value_test.dart | 2 +- tests/lib/isolate/timer_isolate_test.dart | 2 +- .../lib/isolate/timer_multiple_isolates_test.dart | 2 +- .../isolate/transferable_failed_to_send_test.dart | 2 +- tests/lib/isolate/transferable_test.dart | 2 +- tests/lib/isolate/typed_message_test.dart | 2 +- tests/lib/isolate/unresolved_ports_test.dart | 2 +- tests/lib/isolate/vm_rehash_test.dart | 2 +- .../bool_from_environment_default_value_test.dart | 2 +- tests/lib_2/isolate/capability_test.dart | 2 +- tests/lib_2/isolate/compile_time_error_test.dart | 2 +- tests/lib_2/isolate/count_test.dart | 2 +- .../lib_2/isolate/cross_isolate_message_test.dart | 2 +- tests/lib_2/isolate/deferred_in_isolate2_test.dart | 2 +- tests/lib_2/isolate/deferred_in_isolate_test.dart | 2 +- tests/lib_2/isolate/enum_const_test.dart | 2 +- tests/lib_2/isolate/error_at_spawn_test.dart | 2 +- tests/lib_2/isolate/error_at_spawnuri_test.dart | 2 +- tests/lib_2/isolate/error_exit_at_spawn_test.dart | 2 +- .../lib_2/isolate/error_exit_at_spawnuri_test.dart | 2 +- tests/lib_2/isolate/exit_at_spawn_test.dart | 2 +- tests/lib_2/isolate/exit_at_spawnuri_test.dart | 2 +- tests/lib_2/isolate/function_send1_test.dart | 2 +- tests/lib_2/isolate/function_send_test.dart | 2 +- tests/lib_2/isolate/handle_error2_test.dart | 2 +- tests/lib_2/isolate/handle_error3_test.dart | 2 +- tests/lib_2/isolate/handle_error_test.dart | 2 +- tests/lib_2/isolate/illegal_msg_function_test.dart | 2 +- tests/lib_2/isolate/illegal_msg_mirror_test.dart | 2 +- .../lib_2/isolate/int32_length_overflow_test.dart | 2 +- .../int_from_environment_default_value_test.dart | 2 +- .../isolate/isolate_complex_messages_test.dart | 2 +- tests/lib_2/isolate/isolate_current_test.dart | 2 +- tests/lib_2/isolate/isolate_import_test.dart | 2 +- tests/lib_2/isolate/isolate_stress_test.dart | 2 +- .../isolate/issue_21398_parent_isolate1_test.dart | 2 +- .../isolate/issue_21398_parent_isolate2_test.dart | 2 +- .../isolate/issue_21398_parent_isolate_test.dart | 2 +- tests/lib_2/isolate/issue_22778_test.dart | 2 +- .../isolate/issue_24243_parent_isolate_test.dart | 2 +- tests/lib_2/isolate/issue_35626_test.dart | 2 +- tests/lib_2/isolate/issue_6610_test.dart | 2 +- tests/lib_2/isolate/kill2_test.dart | 2 +- .../isolate/kill_self_synchronously_test.dart | 2 +- tests/lib_2/isolate/kill_self_test.dart | 2 +- tests/lib_2/isolate/kill_test.dart | 2 +- tests/lib_2/isolate/large_byte_data_leak_test.dart | 2 +- tests/lib_2/isolate/large_byte_data_test.dart | 2 +- tests/lib_2/isolate/mandel_isolate_test.dart | 2 +- tests/lib_2/isolate/message2_test.dart | 2 +- tests/lib_2/isolate/message3_test.dart | 2 +- tests/lib_2/isolate/message4_test.dart | 2 +- .../message_const_type_arguments_1_test.dart | 2 +- .../message_const_type_arguments_2_test.dart | 2 +- tests/lib_2/isolate/message_enum_test.dart | 2 +- tests/lib_2/isolate/message_test.dart | 2 +- tests/lib_2/isolate/mint_maker_test.dart | 2 +- .../lib_2/isolate/native_wrapper_message_test.dart | 2 +- tests/lib_2/isolate/nested_spawn2_test.dart | 2 +- tests/lib_2/isolate/nested_spawn_test.dart | 2 +- ...non_fatal_exception_in_timer_callback_test.dart | 2 +- tests/lib_2/isolate/object_leak_test.dart | 2 +- tests/lib_2/isolate/ondone_test.dart | 2 +- tests/lib_2/isolate/package_config_test.dart | 2 +- tests/lib_2/isolate/package_resolve_test.dart | 2 +- tests/lib_2/isolate/package_root_test.dart | 2 +- tests/lib_2/isolate/pause_test.dart | 2 +- tests/lib_2/isolate/ping_pause_test.dart | 2 +- tests/lib_2/isolate/ping_test.dart | 2 +- tests/lib_2/isolate/port_test.dart | 2 +- tests/lib_2/isolate/raw_port_test.dart | 2 +- tests/lib_2/isolate/regress_34752_test.dart | 2 +- .../lib_2/isolate/regress_flutter_22796_test.dart | 2 +- tests/lib_2/isolate/request_reply_test.dart | 2 +- tests/lib_2/isolate/resolve_package_uri_test.dart | 2 +- .../package_resolve_test.dart | 2 +- tests/lib_2/isolate/send_private_test.dart | 2 +- tests/lib_2/isolate/simple_message_test.dart | 2 +- .../isolate/spawn_function_custom_class_test.dart | 2 +- tests/lib_2/isolate/spawn_function_test.dart | 2 +- tests/lib_2/isolate/spawn_generic_test.dart | 2 +- .../isolate/spawn_uri_exported_main_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_fail_test.dart | 2 +- .../spawn_uri_missing_from_isolate_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_missing_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_multi_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_nested_vm_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_test.dart | 2 +- tests/lib_2/isolate/spawn_uri_vm_test.dart | 2 +- tests/lib_2/isolate/start_paused_test.dart | 2 +- tests/lib_2/isolate/static_function_test.dart | 2 +- ...string_from_environment_default_value_test.dart | 2 +- tests/lib_2/isolate/timer_isolate_test.dart | 2 +- .../isolate/timer_multiple_isolates_test.dart | 2 +- .../isolate/transferable_failed_to_send_test.dart | 2 +- tests/lib_2/isolate/transferable_test.dart | 2 +- tests/lib_2/isolate/typed_message_test.dart | 2 +- tests/lib_2/isolate/unresolved_ports_test.dart | 2 +- tests/lib_2/isolate/vm_rehash_test.dart | 2 +- tests/standalone/io/echo_server_stream_test.dart | 2 +- tests/standalone/io/file_system_watcher_test.dart | 2 +- tests/standalone/io/http_advanced_test.dart | 2 +- tests/standalone/io/http_basic_test.dart | 2 +- tests/standalone/io/http_read_test.dart | 2 +- tests/standalone/io/pipe_server_test.dart | 2 +- tests/standalone/io/platform_test.dart | 2 +- .../standalone/io/raw_synchronous_socket_test.dart | 2 +- tests/standalone/io/shared_socket_test.dart | 2 +- tests/standalone/io/socket_close_test.dart | 2 +- tests/standalone/io/socket_finalizer_test.dart | 2 +- .../io/socket_many_connections_test.dart | 2 +- .../standalone/io/stdio_socket_finalizer_test.dart | 2 +- .../standalone/io/wait_for_event_isolate_test.dart | 2 +- tests/standalone/packages_file_test.dart | 2 +- tests/standalone/regress_26031_test.dart | 2 +- tests/standalone/regress_28854_1_test.dart | 2 +- tests/standalone/regress_28854_2_test.dart | 2 +- .../standalone/typed_array_int64_uint64_test.dart | 2 +- tests/standalone/typed_array_test.dart | 2 +- tests/standalone/typed_data_isolate_test.dart | 2 +- tests/standalone_2/io/echo_server_stream_test.dart | 2 +- .../standalone_2/io/file_system_watcher_test.dart | 2 +- tests/standalone_2/io/http_advanced_test.dart | 2 +- tests/standalone_2/io/http_basic_test.dart | 2 +- tests/standalone_2/io/http_read_test.dart | 2 +- tests/standalone_2/io/pipe_server_test.dart | 2 +- tests/standalone_2/io/platform_test.dart | 2 +- .../io/raw_synchronous_socket_test.dart | 2 +- tests/standalone_2/io/shared_socket_test.dart | 2 +- tests/standalone_2/io/socket_close_test.dart | 2 +- tests/standalone_2/io/socket_finalizer_test.dart | 2 +- .../io/socket_many_connections_test.dart | 2 +- .../io/stdio_socket_finalizer_test.dart | 2 +- .../io/wait_for_event_isolate_test.dart | 2 +- tests/standalone_2/packages_file_test.dart | 2 +- tests/standalone_2/regress_26031_test.dart | 2 +- tests/standalone_2/regress_28854_1_test.dart | 2 +- tests/standalone_2/regress_28854_2_test.dart | 2 +- .../typed_array_int64_uint64_test.dart | 2 +- tests/standalone_2/typed_array_test.dart | 2 +- tests/standalone_2/typed_data_isolate_test.dart | 2 +- 278 files changed, 325 insertions(+), 292 deletions(-) diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc index b5d898e2d1b..aa9a2c47e9f 100644 --- a/runtime/lib/isolate.cc +++ b/runtime/lib/isolate.cc @@ -586,7 +586,7 @@ class SpawnIsolateTask : public ThreadPool::Task { ASSERT(name != nullptr); auto group = state_->isolate_group(); - if (!FLAG_enable_isolate_groups || group == nullptr) { + if (!IsolateGroup::AreIsolateGroupsEnabled() || group == nullptr) { RunHeavyweight(name); } else { RunLightweight(name); diff --git a/runtime/tests/vm/dart/isolates/dart_api_create_lightweight_isolate_test.dart b/runtime/tests/vm/dart/isolates/dart_api_create_lightweight_isolate_test.dart index ecc33a10d64..34c3f239e26 100644 --- a/runtime/tests/vm/dart/isolates/dart_api_create_lightweight_isolate_test.dart +++ b/runtime/tests/vm/dart/isolates/dart_api_create_lightweight_isolate_test.dart @@ -4,7 +4,7 @@ // SharedObjects=ffi_test_functions // VMOptions= -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:ffi'; @@ -18,8 +18,10 @@ import '../../../../../tests/ffi/calloc.dart'; import '../../../../../tests/ffi/dylib_utils.dart'; final bool isAOT = Platform.executable.contains('dart_precompiled_runtime'); -final bool isolateGropusEnabled = +final bool isolateGroupsEnabled = Platform.executableArguments.contains('--enable-isolate-groups'); +final bool isolateGroupsEnabledInJIT = Platform.executableArguments + .contains('--experimental-enable-isolate-groups-jit'); final sdkRoot = Platform.script.resolve('../../../../../'); class Isolate extends Opaque {} @@ -242,13 +244,17 @@ Future testJit() async { } Future main(args) async { - if (!isolateGropusEnabled) { + if (!isolateGroupsEnabled) { await testNotSupported(); return; } if (isAOT) { await testAot(); } else { - await testJit(); + if (isolateGroupsEnabledInJIT) { + await testJit(); + } else { + await testNotSupported(); + } } } diff --git a/runtime/tests/vm/dart/isolates/fibonacci_call_ig_test.dart b/runtime/tests/vm/dart/isolates/fibonacci_call_ig_test.dart index 9a2938b1f56..61acb3fd0aa 100644 --- a/runtime/tests/vm/dart/isolates/fibonacci_call_ig_test.dart +++ b/runtime/tests/vm/dart/isolates/fibonacci_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/fibonacci_call_test.dart b/runtime/tests/vm/dart/isolates/fibonacci_call_test.dart index b6b32efd1bb..a8ba640ca97 100644 --- a/runtime/tests/vm/dart/isolates/fibonacci_call_test.dart +++ b/runtime/tests/vm/dart/isolates/fibonacci_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/limited_active_mutator_test.dart b/runtime/tests/vm/dart/isolates/limited_active_mutator_test.dart index 71ca959adb2..147dfdcf6f9 100644 --- a/runtime/tests/vm/dart/isolates/limited_active_mutator_test.dart +++ b/runtime/tests/vm/dart/isolates/limited_active_mutator_test.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. // SharedObjects=ffi_test_functions -// VMOptions=--enable-isolate-groups --disable-heap-verification --disable-thread-pool-limit +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification --disable-thread-pool-limit import 'dart:async'; import 'dart:math' as math; diff --git a/runtime/tests/vm/dart/isolates/ring_gc_sendAndExit_test.dart b/runtime/tests/vm/dart/isolates/ring_gc_sendAndExit_test.dart index 10f5f19513b..e461273a16f 100644 --- a/runtime/tests/vm/dart/isolates/ring_gc_sendAndExit_test.dart +++ b/runtime/tests/vm/dart/isolates/ring_gc_sendAndExit_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:math' as math; diff --git a/runtime/tests/vm/dart/isolates/ring_gc_test.dart b/runtime/tests/vm/dart/isolates/ring_gc_test.dart index a1267554308..f0ecbc13cb3 100644 --- a/runtime/tests/vm/dart/isolates/ring_gc_test.dart +++ b/runtime/tests/vm/dart/isolates/ring_gc_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:math' as math; diff --git a/runtime/tests/vm/dart/isolates/spawn_function_test.dart b/runtime/tests/vm/dart/isolates/spawn_function_test.dart index f2a85ea1ef3..bbbb2f5c45d 100644 --- a/runtime/tests/vm/dart/isolates/spawn_function_test.dart +++ b/runtime/tests/vm/dart/isolates/spawn_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/sum_recursive_call_ig_test.dart b/runtime/tests/vm/dart/isolates/sum_recursive_call_ig_test.dart index 915c1026d50..6b7eecb9c1f 100644 --- a/runtime/tests/vm/dart/isolates/sum_recursive_call_ig_test.dart +++ b/runtime/tests/vm/dart/isolates/sum_recursive_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/sum_recursive_call_test.dart b/runtime/tests/vm/dart/isolates/sum_recursive_call_test.dart index 89bcc585204..3b180087071 100644 --- a/runtime/tests/vm/dart/isolates/sum_recursive_call_test.dart +++ b/runtime/tests/vm/dart/isolates/sum_recursive_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_ig_test.dart b/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_ig_test.dart index a3fb967d354..bf1d16556dd 100644 --- a/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_ig_test.dart +++ b/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_test.dart b/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_test.dart index 866b8f3d11a..a98cc911b62 100644 --- a/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_test.dart +++ b/runtime/tests/vm/dart/isolates/sum_recursive_tail_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/isolates/thread_pool_test.dart b/runtime/tests/vm/dart/isolates/thread_pool_test.dart index 3d689ca4254..aadf1f684d6 100644 --- a/runtime/tests/vm/dart/isolates/thread_pool_test.dart +++ b/runtime/tests/vm/dart/isolates/thread_pool_test.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. // SharedObjects=ffi_test_functions -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:ffi'; diff --git a/runtime/tests/vm/dart/issue_31959_31960_test.dart b/runtime/tests/vm/dart/issue_31959_31960_test.dart index 3ca1be242cc..5cb830f7616 100644 --- a/runtime/tests/vm/dart/issue_31959_31960_test.dart +++ b/runtime/tests/vm/dart/issue_31959_31960_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/runtime/tests/vm/dart/sendandexit_test.dart b/runtime/tests/vm/dart/sendandexit_test.dart index 58e02c62889..91d2bac1d12 100644 --- a/runtime/tests/vm/dart/sendandexit_test.dart +++ b/runtime/tests/vm/dart/sendandexit_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // // Validates functionality of sendAndExit. diff --git a/runtime/tests/vm/dart/spawn_infinite_loop_test.dart b/runtime/tests/vm/dart/spawn_infinite_loop_test.dart index 3a89e80e349..79409e07ee0 100644 --- a/runtime/tests/vm/dart/spawn_infinite_loop_test.dart +++ b/runtime/tests/vm/dart/spawn_infinite_loop_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/runtime/tests/vm/dart/transferable_test.dart b/runtime/tests/vm/dart/transferable_test.dart index 2f5155a2556..6a9c4f07962 100644 --- a/runtime/tests/vm/dart/transferable_test.dart +++ b/runtime/tests/vm/dart/transferable_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that validates that transferables are faster than regular typed data. diff --git a/runtime/tests/vm/dart/transferable_throws_test.dart b/runtime/tests/vm/dart/transferable_throws_test.dart index 2ad36059fa3..e649a86c4e4 100644 --- a/runtime/tests/vm/dart/transferable_throws_test.dart +++ b/runtime/tests/vm/dart/transferable_throws_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that ensures correct exceptions are thrown when misusing diff --git a/runtime/tests/vm/dart_2/isolates/dart_api_create_lightweight_isolate_test.dart b/runtime/tests/vm/dart_2/isolates/dart_api_create_lightweight_isolate_test.dart index bcd62700f2b..9c1a5c20581 100644 --- a/runtime/tests/vm/dart_2/isolates/dart_api_create_lightweight_isolate_test.dart +++ b/runtime/tests/vm/dart_2/isolates/dart_api_create_lightweight_isolate_test.dart @@ -4,7 +4,7 @@ // SharedObjects=ffi_test_functions // VMOptions= -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:ffi'; @@ -18,8 +18,10 @@ import '../../../../../tests/ffi/calloc.dart'; import '../../../../../tests/ffi/dylib_utils.dart'; final bool isAOT = Platform.executable.contains('dart_precompiled_runtime'); -final bool isolateGropusEnabled = +final bool isolateGroupsEnabled = Platform.executableArguments.contains('--enable-isolate-groups'); +final bool isolateGroupsEnabledInJIT = Platform.executableArguments + .contains('--experimental-enable-isolate-groups-jit'); final sdkRoot = Platform.script.resolve('../../../../../'); class Isolate extends Opaque {} @@ -242,13 +244,17 @@ Future testJit() async { } Future main(args) async { - if (!isolateGropusEnabled) { + if (!isolateGroupsEnabled) { await testNotSupported(); return; } if (isAOT) { await testAot(); } else { - await testJit(); + if (isolateGroupsEnabledInJIT) { + await testJit(); + } else { + await testNotSupported(); + } } } diff --git a/runtime/tests/vm/dart_2/isolates/fibonacci_call_ig_test.dart b/runtime/tests/vm/dart_2/isolates/fibonacci_call_ig_test.dart index 9a2938b1f56..61acb3fd0aa 100644 --- a/runtime/tests/vm/dart_2/isolates/fibonacci_call_ig_test.dart +++ b/runtime/tests/vm/dart_2/isolates/fibonacci_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/fibonacci_call_test.dart b/runtime/tests/vm/dart_2/isolates/fibonacci_call_test.dart index b6b32efd1bb..a8ba640ca97 100644 --- a/runtime/tests/vm/dart_2/isolates/fibonacci_call_test.dart +++ b/runtime/tests/vm/dart_2/isolates/fibonacci_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/limited_active_mutator_test.dart b/runtime/tests/vm/dart_2/isolates/limited_active_mutator_test.dart index 71ca959adb2..147dfdcf6f9 100644 --- a/runtime/tests/vm/dart_2/isolates/limited_active_mutator_test.dart +++ b/runtime/tests/vm/dart_2/isolates/limited_active_mutator_test.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. // SharedObjects=ffi_test_functions -// VMOptions=--enable-isolate-groups --disable-heap-verification --disable-thread-pool-limit +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification --disable-thread-pool-limit import 'dart:async'; import 'dart:math' as math; diff --git a/runtime/tests/vm/dart_2/isolates/ring_gc_sendAndExit_test.dart b/runtime/tests/vm/dart_2/isolates/ring_gc_sendAndExit_test.dart index 10f5f19513b..e461273a16f 100644 --- a/runtime/tests/vm/dart_2/isolates/ring_gc_sendAndExit_test.dart +++ b/runtime/tests/vm/dart_2/isolates/ring_gc_sendAndExit_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:math' as math; diff --git a/runtime/tests/vm/dart_2/isolates/ring_gc_test.dart b/runtime/tests/vm/dart_2/isolates/ring_gc_test.dart index a1267554308..f0ecbc13cb3 100644 --- a/runtime/tests/vm/dart_2/isolates/ring_gc_test.dart +++ b/runtime/tests/vm/dart_2/isolates/ring_gc_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:math' as math; diff --git a/runtime/tests/vm/dart_2/isolates/spawn_function_test.dart b/runtime/tests/vm/dart_2/isolates/spawn_function_test.dart index f2a85ea1ef3..bbbb2f5c45d 100644 --- a/runtime/tests/vm/dart_2/isolates/spawn_function_test.dart +++ b/runtime/tests/vm/dart_2/isolates/spawn_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/sum_recursive_call_ig_test.dart b/runtime/tests/vm/dart_2/isolates/sum_recursive_call_ig_test.dart index 915c1026d50..6b7eecb9c1f 100644 --- a/runtime/tests/vm/dart_2/isolates/sum_recursive_call_ig_test.dart +++ b/runtime/tests/vm/dart_2/isolates/sum_recursive_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/sum_recursive_call_test.dart b/runtime/tests/vm/dart_2/isolates/sum_recursive_call_test.dart index 89bcc585204..3b180087071 100644 --- a/runtime/tests/vm/dart_2/isolates/sum_recursive_call_test.dart +++ b/runtime/tests/vm/dart_2/isolates/sum_recursive_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_ig_test.dart b/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_ig_test.dart index a3fb967d354..bf1d16556dd 100644 --- a/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_ig_test.dart +++ b/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_ig_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_test.dart b/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_test.dart index 866b8f3d11a..a98cc911b62 100644 --- a/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_test.dart +++ b/runtime/tests/vm/dart_2/isolates/sum_recursive_tail_call_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/isolates/thread_pool_test.dart b/runtime/tests/vm/dart_2/isolates/thread_pool_test.dart index 695fda23735..b0de7849efb 100644 --- a/runtime/tests/vm/dart_2/isolates/thread_pool_test.dart +++ b/runtime/tests/vm/dart_2/isolates/thread_pool_test.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. // SharedObjects=ffi_test_functions -// VMOptions=--enable-isolate-groups --disable-heap-verification +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit --disable-heap-verification import 'dart:async'; import 'dart:ffi'; diff --git a/runtime/tests/vm/dart_2/issue_31959_31960_test.dart b/runtime/tests/vm/dart_2/issue_31959_31960_test.dart index d63a16f9faf..b70bb0dfddd 100644 --- a/runtime/tests/vm/dart_2/issue_31959_31960_test.dart +++ b/runtime/tests/vm/dart_2/issue_31959_31960_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/runtime/tests/vm/dart_2/sendandexit_test.dart b/runtime/tests/vm/dart_2/sendandexit_test.dart index 58e02c62889..91d2bac1d12 100644 --- a/runtime/tests/vm/dart_2/sendandexit_test.dart +++ b/runtime/tests/vm/dart_2/sendandexit_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // // Validates functionality of sendAndExit. diff --git a/runtime/tests/vm/dart_2/spawn_infinite_loop_test.dart b/runtime/tests/vm/dart_2/spawn_infinite_loop_test.dart index 3a89e80e349..79409e07ee0 100644 --- a/runtime/tests/vm/dart_2/spawn_infinite_loop_test.dart +++ b/runtime/tests/vm/dart_2/spawn_infinite_loop_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/runtime/tests/vm/dart_2/transferable_test.dart b/runtime/tests/vm/dart_2/transferable_test.dart index 8daf5a054e4..48ea0ec43fd 100644 --- a/runtime/tests/vm/dart_2/transferable_test.dart +++ b/runtime/tests/vm/dart_2/transferable_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that validates that transferables are faster than regular typed data. diff --git a/runtime/tests/vm/dart_2/transferable_throws_test.dart b/runtime/tests/vm/dart_2/transferable_throws_test.dart index 6f4d55bcdcb..7052072aeeb 100644 --- a/runtime/tests/vm/dart_2/transferable_throws_test.dart +++ b/runtime/tests/vm/dart_2/transferable_throws_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that ensures correct exceptions are thrown when misusing diff --git a/runtime/vm/compiler/backend/flow_graph_compiler.cc b/runtime/vm/compiler/backend/flow_graph_compiler.cc index 9bd27a4a7a6..92f23a41869 100644 --- a/runtime/vm/compiler/backend/flow_graph_compiler.cc +++ b/runtime/vm/compiler/backend/flow_graph_compiler.cc @@ -209,7 +209,7 @@ bool FlowGraphCompiler::IsUnboxedField(const Field& field) { ASSERT(!field.is_non_nullable_integer() || FLAG_precompiled_mode); // Unboxed fields in JIT lightweight isolates mode are not supported yet. const bool valid_class = - (FLAG_precompiled_mode || !FLAG_enable_isolate_groups) && + (FLAG_precompiled_mode || !IsolateGroup::AreIsolateGroupsEnabled()) && ((SupportsUnboxedDoubles() && (field.guarded_cid() == kDoubleCid)) || (SupportsUnboxedSimd128() && (field.guarded_cid() == kFloat32x4Cid)) || (SupportsUnboxedSimd128() && (field.guarded_cid() == kFloat64x2Cid)) || @@ -225,7 +225,8 @@ bool FlowGraphCompiler::IsPotentialUnboxedField(const Field& field) { return IsUnboxedField(field); } // Unboxed fields in JIT lightweight isolates mode are not supported yet. - return !FLAG_enable_isolate_groups && field.is_unboxing_candidate() && + return !IsolateGroup::AreIsolateGroupsEnabled() && + field.is_unboxing_candidate() && (FlowGraphCompiler::IsUnboxedField(field) || (field.guarded_cid() == kIllegalCid)); } diff --git a/runtime/vm/compiler/jit/compiler.cc b/runtime/vm/compiler/jit/compiler.cc index 06056b55491..e83ce88bbd4 100644 --- a/runtime/vm/compiler/jit/compiler.cc +++ b/runtime/vm/compiler/jit/compiler.cc @@ -212,7 +212,7 @@ DEFINE_RUNTIME_ENTRY(CompileFunction, 1) { ASSERT(thread->IsMutatorThread()); const Function& function = Function::CheckedHandle(zone, arguments.ArgAt(0)); - if (FLAG_enable_isolate_groups) { + if (IsolateGroup::AreIsolateGroupsEnabled()) { // Another isolate's mutator thread may have created [function] and // published it via an ICData, MegamorphicCache etc. Entering the lock below // is an acquire operation that pairs with the release operation when the @@ -225,7 +225,7 @@ DEFINE_RUNTIME_ENTRY(CompileFunction, 1) { // there's no existing code. In multi-isolate scenarios with shared JITed code // we can end up in the lazy compile runtime entry here with code being // installed. - ASSERT(!function.HasCode() || FLAG_enable_isolate_groups); + ASSERT(!function.HasCode() || IsolateGroup::AreIsolateGroupsEnabled()); // Will throw if compilation failed (e.g. with compile-time error). function.EnsureHasCode(); diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc index 1cc688832ee..e5860d4b697 100644 --- a/runtime/vm/dart_api_impl.cc +++ b/runtime/vm/dart_api_impl.cc @@ -1408,7 +1408,7 @@ Dart_CreateIsolateInGroup(Dart_Isolate group_member, *error = nullptr; - if (!FLAG_enable_isolate_groups) { + if (!IsolateGroup::AreIsolateGroupsEnabled()) { *error = Utils::StrDup( "Lightweight isolates are only implemented in AOT " "mode and need to be explicitly enabled by passing " diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h index 087b7815d62..2f155465172 100644 --- a/runtime/vm/flag_list.h +++ b/runtime/vm/flag_list.h @@ -189,7 +189,12 @@ constexpr bool kDartUseBackgroundCompilation = true; P(retain_function_objects, bool, true, \ "Serialize function objects for all code objects even if not otherwise " \ "needed in the precompiled runtime.") \ - P(enable_isolate_groups, bool, false, "Enable isolate group support.") \ + P(enable_isolate_groups, bool, false, \ + "Enable isolate group support in AOT.") \ + P(experimental_enable_isolate_groups_jit, bool, false, \ + "As an experimental feature enable isolate group support in JIT" \ + "(goes into effect only when enable_isolate_groups is turned on as " \ + "well).") \ P(show_invisible_frames, bool, false, \ "Show invisible frames in stack traces.") \ R(support_il_printer, false, bool, true, "Support the IL printer.") \ diff --git a/runtime/vm/flags.cc b/runtime/vm/flags.cc index 8b5ba1bfc7d..3d78c39c740 100644 --- a/runtime/vm/flags.cc +++ b/runtime/vm/flags.cc @@ -5,6 +5,7 @@ #include "vm/flags.h" #include "platform/assert.h" +#include "vm/isolate.h" #include "vm/json_stream.h" #include "vm/os.h" @@ -472,7 +473,7 @@ char* Flags::ProcessCommandLineFlags(int number_of_vm_flags, // graudally remove those restrictions. #if !defined(DART_PRCOMPILED_RUNTIME) - if (!FLAG_precompiled_mode && FLAG_enable_isolate_groups) { + if (!FLAG_precompiled_mode && IsolateGroup::AreIsolateGroupsEnabled()) { // Our compiler should not make rely on a global field being initialized at // compile-time, since that compiled code might be re-used in another // isolate that has not yet initialized the global field. diff --git a/runtime/vm/heap/heap_test.cc b/runtime/vm/heap/heap_test.cc index fc85962d734..3c174a1c60b 100644 --- a/runtime/vm/heap/heap_test.cc +++ b/runtime/vm/heap/heap_test.cc @@ -576,7 +576,7 @@ class MergeIsolatesHeapsHandler : public MessageHandler { VM_UNIT_TEST_CASE(CleanupBequestNeverReceived) { // This test uses features from isolate groups - FLAG_enable_isolate_groups = true; + IsolateGroup::ForceEnableIsolateGroupsForTesting(); const char* TEST_MESSAGE = "hello, world"; Dart_Isolate parent = TestCase::CreateTestIsolate("parent"); @@ -611,7 +611,7 @@ VM_UNIT_TEST_CASE(CleanupBequestNeverReceived) { VM_UNIT_TEST_CASE(ReceivesSendAndExitMessage) { // This test uses features from isolate groups - FLAG_enable_isolate_groups = true; + IsolateGroup::ForceEnableIsolateGroupsForTesting(); const char* TEST_MESSAGE = "hello, world"; Dart_Isolate parent = TestCase::CreateTestIsolate("parent"); diff --git a/runtime/vm/heap/verifier.cc b/runtime/vm/heap/verifier.cc index 34a65936ace..b0e0d708bd2 100644 --- a/runtime/vm/heap/verifier.cc +++ b/runtime/vm/heap/verifier.cc @@ -104,7 +104,7 @@ void VerifyCanonicalVisitor::VisitObject(ObjectPtr obj) { // other isolates. We should either scan live objects from the roots of each // individual isolate, or wait until we are ready to share constants across // isolates. - if (!FLAG_enable_isolate_groups || FLAG_precompiled_mode) { + if (!IsolateGroup::AreIsolateGroupsEnabled() || FLAG_precompiled_mode) { if ((obj->GetClassId() >= kInstanceCid) && (obj->GetClassId() != kTypeArgumentsCid)) { if (obj->untag()->IsCanonical()) { diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc index a8372010885..9a98248e339 100644 --- a/runtime/vm/isolate.cc +++ b/runtime/vm/isolate.cc @@ -1984,7 +1984,7 @@ bool IsolateGroup::ReloadSources(JSONStream* js, ASSERT(!IsReloading()); // TODO(dartbug.com/36097): Support multiple isolates within an isolate group. - RELEASE_ASSERT(!FLAG_enable_isolate_groups); + RELEASE_ASSERT(!IsolateGroup::AreIsolateGroupsEnabled()); RELEASE_ASSERT(isolates_.First() == isolates_.Last()); RELEASE_ASSERT(isolates_.First() == Isolate::Current()); @@ -2017,7 +2017,7 @@ bool IsolateGroup::ReloadKernel(JSONStream* js, ASSERT(!IsReloading()); // TODO(dartbug.com/36097): Support multiple isolates within an isolate group. - RELEASE_ASSERT(!FLAG_enable_isolate_groups); + RELEASE_ASSERT(!IsolateGroup::AreIsolateGroupsEnabled()); RELEASE_ASSERT(isolates_.First() == isolates_.Last()); RELEASE_ASSERT(isolates_.First() == Isolate::Current()); @@ -2534,7 +2534,7 @@ void Isolate::LowLevelCleanup(Isolate* isolate) { Dart::thread_pool()->Run(isolate_group); } } else { - if (FLAG_enable_isolate_groups) { + if (IsolateGroup::AreIsolateGroupsEnabled()) { // TODO(dartbug.com/36097): An isolate just died. A significant amount of // memory might have become unreachable. We should evaluate how to best // inform the GC about this situation. @@ -2696,7 +2696,7 @@ void IsolateGroup::RunWithStoppedMutatorsCallable( bool use_force_growth_in_otherwise) { auto thread = Thread::Current(); - if (thread->IsMutatorThread() && !FLAG_enable_isolate_groups) { + if (thread->IsMutatorThread() && !IsolateGroup::AreIsolateGroupsEnabled()) { single_current_mutator->Call(); return; } diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h index 0b8dd2c0852..b1ef14870ce 100644 --- a/runtime/vm/isolate.h +++ b/runtime/vm/isolate.h @@ -708,6 +708,20 @@ class IsolateGroup : public IntrusiveDListEntry { void RegisterStaticField(const Field& field, const Instance& initial_value); + static bool AreIsolateGroupsEnabled() { +#if defined(DART_PRECOMPILED_RUNTIME) + return FLAG_enable_isolate_groups; +#else + return FLAG_enable_isolate_groups && + FLAG_experimental_enable_isolate_groups_jit; +#endif + } + + static void ForceEnableIsolateGroupsForTesting() { + FLAG_enable_isolate_groups = true; + FLAG_experimental_enable_isolate_groups_jit = true; + } + private: friend class Dart; // For `object_store_ = ` in Dart::Init friend class Heap; diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc index 433af1e190e..6e20c6e6487 100644 --- a/runtime/vm/isolate_reload.cc +++ b/runtime/vm/isolate_reload.cc @@ -565,7 +565,7 @@ bool IsolateGroupReloadContext::Reload(bool force_reload, // All isolates within an isolate group need to share one heap. // TODO(dartbug.com/36097): Remove this assert once the shared heap CL has // landed. - RELEASE_ASSERT(!FLAG_enable_isolate_groups); + RELEASE_ASSERT(!IsolateGroup::AreIsolateGroupsEnabled()); Heap* heap = IG->heap(); num_old_libs_ = diff --git a/runtime/vm/runtime_entry.cc b/runtime/vm/runtime_entry.cc index c888a5602a5..adce2b7ad02 100644 --- a/runtime/vm/runtime_entry.cc +++ b/runtime/vm/runtime_entry.cc @@ -685,7 +685,7 @@ static void UpdateTypeTestCache( new_cache.WriteEntryToBuffer(zone, &buffer, colliding_index, " "); OS::PrintErr("%s\n", buffer.buffer()); } - if (!FLAG_enable_isolate_groups) { + if (!IsolateGroup::AreIsolateGroupsEnabled()) { FATAL("Duplicate subtype test cache entry"); } if (old_result.ptr() != result.ptr()) { @@ -1048,7 +1048,7 @@ DEFINE_RUNTIME_ENTRY(PatchStaticCall, 0) { const Code& target_code = Code::Handle(zone, target_function.EnsureHasCode()); // Before patching verify that we are not repeatedly patching to the same // target. - ASSERT(FLAG_enable_isolate_groups || + ASSERT(IsolateGroup::AreIsolateGroupsEnabled() || target_code.ptr() != CodePatcher::GetStaticCallTargetAt( caller_frame->pc(), caller_code)); if (target_code.ptr() != diff --git a/runtime/vm/symbols.cc b/runtime/vm/symbols.cc index 5da457a124d..23dd38117c8 100644 --- a/runtime/vm/symbols.cc +++ b/runtime/vm/symbols.cc @@ -366,7 +366,7 @@ StringPtr Symbols::NewSymbol(Thread* thread, const StringType& str) { // TODO(https://dartbug.com/41943): Get rid of the symbol table accesses // within safepoint operation scope. RELEASE_ASSERT(group->safepoint_handler()->IsOwnedByTheThread(thread)); - RELEASE_ASSERT(FLAG_enable_isolate_groups || !USING_PRODUCT); + RELEASE_ASSERT(IsolateGroup::AreIsolateGroupsEnabled() || !USING_PRODUCT); // Uncommon case: We are at a safepoint, all mutators are stopped and we // have therefore exclusive access to the symbol table. @@ -395,7 +395,7 @@ StringPtr Symbols::NewSymbol(Thread* thread, const StringType& str) { }; SafepointWriteRwLocker sl(thread, group->symbols_lock()); - if (FLAG_enable_isolate_groups || !USING_PRODUCT) { + if (IsolateGroup::AreIsolateGroupsEnabled() || !USING_PRODUCT) { // NOTE: Strictly speaking we should use a safepoint operation scope // here to ensure the lock-free usage inside safepoint operations (see // above) is safe. Though this would really kill the performance. @@ -440,7 +440,7 @@ StringPtr Symbols::Lookup(Thread* thread, const StringType& str) { // In DEBUG mode the snapshot writer also calls this method inside a // safepoint. #if !defined(DEBUG) - RELEASE_ASSERT(FLAG_enable_isolate_groups || !USING_PRODUCT); + RELEASE_ASSERT(IsolateGroup::AreIsolateGroupsEnabled() || !USING_PRODUCT); #endif data = object_store->symbol_table(); CanonicalStringSet table(&key, &value, &data); diff --git a/tests/ffi/snapshot_test.dart b/tests/ffi/snapshot_test.dart index b27b88b0b9e..5bb0b10f9ad 100644 --- a/tests/ffi/snapshot_test.dart +++ b/tests/ffi/snapshot_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Checks that the VM throws an appropriate exception when FFI objects are diff --git a/tests/ffi/vmspecific_function_callbacks_test.dart b/tests/ffi/vmspecific_function_callbacks_test.dart index 99a036b93c6..510193c10ce 100644 --- a/tests/ffi/vmspecific_function_callbacks_test.dart +++ b/tests/ffi/vmspecific_function_callbacks_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-testing-pragmas --enable-isolate-groups +// VMOptions=--enable-testing-pragmas --enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--enable-testing-pragmas --no-enable-isolate-groups // // Dart test program for testing dart:ffi function pointers with callbacks. diff --git a/tests/ffi_2/snapshot_test.dart b/tests/ffi_2/snapshot_test.dart index b27b88b0b9e..5bb0b10f9ad 100644 --- a/tests/ffi_2/snapshot_test.dart +++ b/tests/ffi_2/snapshot_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Checks that the VM throws an appropriate exception when FFI objects are diff --git a/tests/ffi_2/vmspecific_function_callbacks_test.dart b/tests/ffi_2/vmspecific_function_callbacks_test.dart index 99a036b93c6..510193c10ce 100644 --- a/tests/ffi_2/vmspecific_function_callbacks_test.dart +++ b/tests/ffi_2/vmspecific_function_callbacks_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-testing-pragmas --enable-isolate-groups +// VMOptions=--enable-testing-pragmas --enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--enable-testing-pragmas --no-enable-isolate-groups // // Dart test program for testing dart:ffi function pointers with callbacks. diff --git a/tests/language/regress/regress23244_test.dart b/tests/language/regress/regress23244_test.dart index 6a25b5788ed..c955874310c 100644 --- a/tests/language/regress/regress23244_test.dart +++ b/tests/language/regress/regress23244_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test case for http://dartbug.com/23244 diff --git a/tests/language/vm/optimized_guarded_field_isolates_test.dart b/tests/language/vm/optimized_guarded_field_isolates_test.dart index 9278ea9c7d9..428fd8de6bb 100644 --- a/tests/language/vm/optimized_guarded_field_isolates_test.dart +++ b/tests/language/vm/optimized_guarded_field_isolates_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // VMOptions=--optimization_counter_threshold=100 --no-background_compilation diff --git a/tests/language_2/regress/regress23244_test.dart b/tests/language_2/regress/regress23244_test.dart index 6a25b5788ed..c955874310c 100644 --- a/tests/language_2/regress/regress23244_test.dart +++ b/tests/language_2/regress/regress23244_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test case for http://dartbug.com/23244 diff --git a/tests/language_2/vm/optimized_guarded_field_isolates_test.dart b/tests/language_2/vm/optimized_guarded_field_isolates_test.dart index 2f5ac9af7b0..742a7eb6cd2 100644 --- a/tests/language_2/vm/optimized_guarded_field_isolates_test.dart +++ b/tests/language_2/vm/optimized_guarded_field_isolates_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // VMOptions=--optimization_counter_threshold=100 --no-background_compilation diff --git a/tests/lib/isolate/bool_from_environment_default_value_test.dart b/tests/lib/isolate/bool_from_environment_default_value_test.dart index fb9d49b0401..65992ab3ff8 100644 --- a/tests/lib/isolate/bool_from_environment_default_value_test.dart +++ b/tests/lib/isolate/bool_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/capability_test.dart b/tests/lib/isolate/capability_test.dart index fd6c4d3399d..4c09118105a 100644 --- a/tests/lib/isolate/capability_test.dart +++ b/tests/lib/isolate/capability_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/compile_time_error_test.dart b/tests/lib/isolate/compile_time_error_test.dart index 21197faabeb..866cb3b706d 100644 --- a/tests/lib/isolate/compile_time_error_test.dart +++ b/tests/lib/isolate/compile_time_error_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that errors thrown from isolates are diff --git a/tests/lib/isolate/count_test.dart b/tests/lib/isolate/count_test.dart index 6a7de3bf27a..2315e12b0a9 100644 --- a/tests/lib/isolate/count_test.dart +++ b/tests/lib/isolate/count_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library CountTest; diff --git a/tests/lib/isolate/cross_isolate_message_test.dart b/tests/lib/isolate/cross_isolate_message_test.dart index ede3792952d..3b406cc92fd 100644 --- a/tests/lib/isolate/cross_isolate_message_test.dart +++ b/tests/lib/isolate/cross_isolate_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can communicate to isolates diff --git a/tests/lib/isolate/deferred_in_isolate2_test.dart b/tests/lib/isolate/deferred_in_isolate2_test.dart index 52e5428d37c..9eddc1c0ded 100644 --- a/tests/lib/isolate/deferred_in_isolate2_test.dart +++ b/tests/lib/isolate/deferred_in_isolate2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library deferred_in_isolate2_test; diff --git a/tests/lib/isolate/deferred_in_isolate_test.dart b/tests/lib/isolate/deferred_in_isolate_test.dart index d44f075711e..167815b4cfc 100644 --- a/tests/lib/isolate/deferred_in_isolate_test.dart +++ b/tests/lib/isolate/deferred_in_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that deferred libraries are supported from isolates other than the root diff --git a/tests/lib/isolate/enum_const_test.dart b/tests/lib/isolate/enum_const_test.dart index 0a57f135201..3766cb59abb 100644 --- a/tests/lib/isolate/enum_const_test.dart +++ b/tests/lib/isolate/enum_const_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/error_at_spawn_test.dart b/tests/lib/isolate/error_at_spawn_test.dart index c22f41e6915..dcb033b7cc7 100644 --- a/tests/lib/isolate/error_at_spawn_test.dart +++ b/tests/lib/isolate/error_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_at_spawn; diff --git a/tests/lib/isolate/error_at_spawnuri_test.dart b/tests/lib/isolate/error_at_spawnuri_test.dart index 6d0e073c7bb..2c33f1198de 100644 --- a/tests/lib/isolate/error_at_spawnuri_test.dart +++ b/tests/lib/isolate/error_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_at_spawnuri; diff --git a/tests/lib/isolate/error_exit_at_spawn_test.dart b/tests/lib/isolate/error_exit_at_spawn_test.dart index 95430253fbc..7033c1f22b6 100644 --- a/tests/lib/isolate/error_exit_at_spawn_test.dart +++ b/tests/lib/isolate/error_exit_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_exit_at_spawn; diff --git a/tests/lib/isolate/error_exit_at_spawnuri_test.dart b/tests/lib/isolate/error_exit_at_spawnuri_test.dart index cf32b9819e1..7f4f4d65c3c 100644 --- a/tests/lib/isolate/error_exit_at_spawnuri_test.dart +++ b/tests/lib/isolate/error_exit_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_exit_at_spawnuri; diff --git a/tests/lib/isolate/exit_at_spawn_test.dart b/tests/lib/isolate/exit_at_spawn_test.dart index 4a2574eb3ce..3feb840bc3b 100644 --- a/tests/lib/isolate/exit_at_spawn_test.dart +++ b/tests/lib/isolate/exit_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library exit_at_spawn; diff --git a/tests/lib/isolate/exit_at_spawnuri_test.dart b/tests/lib/isolate/exit_at_spawnuri_test.dart index 5bb9ed8c73e..e77fe04810c 100644 --- a/tests/lib/isolate/exit_at_spawnuri_test.dart +++ b/tests/lib/isolate/exit_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library exit_at_spawn; diff --git a/tests/lib/isolate/function_send1_test.dart b/tests/lib/isolate/function_send1_test.dart index 1955c9678f5..43907353caf 100644 --- a/tests/lib/isolate/function_send1_test.dart +++ b/tests/lib/isolate/function_send1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/function_send_test.dart b/tests/lib/isolate/function_send_test.dart index 38b4698bafc..ea75c635570 100644 --- a/tests/lib/isolate/function_send_test.dart +++ b/tests/lib/isolate/function_send_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/handle_error2_test.dart b/tests/lib/isolate/handle_error2_test.dart index 8e36364f83a..e3e3b666983 100644 --- a/tests/lib/isolate/handle_error2_test.dart +++ b/tests/lib/isolate/handle_error2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib/isolate/handle_error3_test.dart b/tests/lib/isolate/handle_error3_test.dart index 170f1304e00..165e2101701 100644 --- a/tests/lib/isolate/handle_error3_test.dart +++ b/tests/lib/isolate/handle_error3_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib/isolate/handle_error_test.dart b/tests/lib/isolate/handle_error_test.dart index a453072e67c..fad1719b4b2 100644 --- a/tests/lib/isolate/handle_error_test.dart +++ b/tests/lib/isolate/handle_error_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib/isolate/illegal_msg_function_test.dart b/tests/lib/isolate/illegal_msg_function_test.dart index 5b5aa454d59..5fcaf8aa98d 100644 --- a/tests/lib/isolate/illegal_msg_function_test.dart +++ b/tests/lib/isolate/illegal_msg_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library illegal_msg_function_test; diff --git a/tests/lib/isolate/illegal_msg_mirror_test.dart b/tests/lib/isolate/illegal_msg_mirror_test.dart index a15572deaf7..7fd70ab9fbd 100644 --- a/tests/lib/isolate/illegal_msg_mirror_test.dart +++ b/tests/lib/isolate/illegal_msg_mirror_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library illegal_msg_mirror_test; diff --git a/tests/lib/isolate/int32_length_overflow_test.dart b/tests/lib/isolate/int32_length_overflow_test.dart index 85e2bd7af9b..b7f51cf4eec 100644 --- a/tests/lib/isolate/int32_length_overflow_test.dart +++ b/tests/lib/isolate/int32_length_overflow_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib/isolate/int_from_environment_default_value_test.dart b/tests/lib/isolate/int_from_environment_default_value_test.dart index af7ccac13bf..7bf07612515 100644 --- a/tests/lib/isolate/int_from_environment_default_value_test.dart +++ b/tests/lib/isolate/int_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/isolate_complex_messages_test.dart b/tests/lib/isolate/isolate_complex_messages_test.dart index 64992dc37f4..606b3af5620 100644 --- a/tests/lib/isolate/isolate_complex_messages_test.dart +++ b/tests/lib/isolate/isolate_complex_messages_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing isolate communication with diff --git a/tests/lib/isolate/isolate_current_test.dart b/tests/lib/isolate/isolate_current_test.dart index 908c42df3e0..b4b0baea82c 100644 --- a/tests/lib/isolate/isolate_current_test.dart +++ b/tests/lib/isolate/isolate_current_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library isolate_current_test; diff --git a/tests/lib/isolate/isolate_import_test.dart b/tests/lib/isolate/isolate_import_test.dart index 211cced9b53..0438a4e94b6 100644 --- a/tests/lib/isolate/isolate_import_test.dart +++ b/tests/lib/isolate/isolate_import_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library IsolateImportNegativeTest; diff --git a/tests/lib/isolate/issue_21398_parent_isolate1_test.dart b/tests/lib/isolate/issue_21398_parent_isolate1_test.dart index 6a0b458a4d7..78f19d5830f 100644 --- a/tests/lib/isolate/issue_21398_parent_isolate1_test.dart +++ b/tests/lib/isolate/issue_21398_parent_isolate1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib/isolate/issue_21398_parent_isolate2_test.dart b/tests/lib/isolate/issue_21398_parent_isolate2_test.dart index feee51b0d9e..d092152e2d7 100644 --- a/tests/lib/isolate/issue_21398_parent_isolate2_test.dart +++ b/tests/lib/isolate/issue_21398_parent_isolate2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib/isolate/issue_21398_parent_isolate_test.dart b/tests/lib/isolate/issue_21398_parent_isolate_test.dart index 5264827304f..2dcb5c1f016 100644 --- a/tests/lib/isolate/issue_21398_parent_isolate_test.dart +++ b/tests/lib/isolate/issue_21398_parent_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib/isolate/issue_22778_test.dart b/tests/lib/isolate/issue_22778_test.dart index 28107cc754e..67d90a2a50c 100644 --- a/tests/lib/isolate/issue_22778_test.dart +++ b/tests/lib/isolate/issue_22778_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/issue_24243_parent_isolate_test.dart b/tests/lib/isolate/issue_24243_parent_isolate_test.dart index c38e5e48da1..92a95492880 100644 --- a/tests/lib/isolate/issue_24243_parent_isolate_test.dart +++ b/tests/lib/isolate/issue_24243_parent_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:collection'; diff --git a/tests/lib/isolate/issue_35626_test.dart b/tests/lib/isolate/issue_35626_test.dart index 1563a839254..26ee9c69bb0 100644 --- a/tests/lib/isolate/issue_35626_test.dart +++ b/tests/lib/isolate/issue_35626_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Tests that sets of enums can be set through ports. diff --git a/tests/lib/isolate/issue_6610_test.dart b/tests/lib/isolate/issue_6610_test.dart index 962955ec50b..9a37e5183e4 100644 --- a/tests/lib/isolate/issue_6610_test.dart +++ b/tests/lib/isolate/issue_6610_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Testing that Isolate.spawn copies the source code of the parent isolate, diff --git a/tests/lib/isolate/kill2_test.dart b/tests/lib/isolate/kill2_test.dart index 9391fc87797..0c946f00ece 100644 --- a/tests/lib/isolate/kill2_test.dart +++ b/tests/lib/isolate/kill2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/kill_self_synchronously_test.dart b/tests/lib/isolate/kill_self_synchronously_test.dart index 19f3a2e9b57..1cfc4ff3b34 100644 --- a/tests/lib/isolate/kill_self_synchronously_test.dart +++ b/tests/lib/isolate/kill_self_synchronously_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/kill_self_test.dart b/tests/lib/isolate/kill_self_test.dart index 157b30f3ef3..ace983f17b9 100644 --- a/tests/lib/isolate/kill_self_test.dart +++ b/tests/lib/isolate/kill_self_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/kill_test.dart b/tests/lib/isolate/kill_test.dart index 07e0dfe8d0d..7c97bfd9fdf 100644 --- a/tests/lib/isolate/kill_test.dart +++ b/tests/lib/isolate/kill_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/large_byte_data_leak_test.dart b/tests/lib/isolate/large_byte_data_leak_test.dart index 1313519a93c..fe2fda110ab 100644 --- a/tests/lib/isolate/large_byte_data_leak_test.dart +++ b/tests/lib/isolate/large_byte_data_leak_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib/isolate/large_byte_data_test.dart b/tests/lib/isolate/large_byte_data_test.dart index 8a78238d925..3861e5cc4b7 100644 --- a/tests/lib/isolate/large_byte_data_test.dart +++ b/tests/lib/isolate/large_byte_data_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib/isolate/mandel_isolate_test.dart b/tests/lib/isolate/mandel_isolate_test.dart index 50d564a000a..22f77608767 100644 --- a/tests/lib/isolate/mandel_isolate_test.dart +++ b/tests/lib/isolate/mandel_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library MandelIsolateTest; diff --git a/tests/lib/isolate/message2_test.dart b/tests/lib/isolate/message2_test.dart index 7c2e69105e7..422b499163d 100644 --- a/tests/lib/isolate/message2_test.dart +++ b/tests/lib/isolate/message2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib/isolate/message3_test.dart b/tests/lib/isolate/message3_test.dart index f1f11bf5990..bb8a007fad8 100644 --- a/tests/lib/isolate/message3_test.dart +++ b/tests/lib/isolate/message3_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib/isolate/message4_test.dart b/tests/lib/isolate/message4_test.dart index 4644ddb33d1..3cc4641a3a2 100644 --- a/tests/lib/isolate/message4_test.dart +++ b/tests/lib/isolate/message4_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages with static diff --git a/tests/lib/isolate/message_const_type_arguments_1_test.dart b/tests/lib/isolate/message_const_type_arguments_1_test.dart index e5133aac37a..480cda5f5a5 100644 --- a/tests/lib/isolate/message_const_type_arguments_1_test.dart +++ b/tests/lib/isolate/message_const_type_arguments_1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // https://github.com/dart-lang/sdk/issues/35778 diff --git a/tests/lib/isolate/message_const_type_arguments_2_test.dart b/tests/lib/isolate/message_const_type_arguments_2_test.dart index 002aa6e8f74..8398d2bf6c0 100644 --- a/tests/lib/isolate/message_const_type_arguments_2_test.dart +++ b/tests/lib/isolate/message_const_type_arguments_2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // https://github.com/dart-lang/sdk/issues/35778 diff --git a/tests/lib/isolate/message_enum_test.dart b/tests/lib/isolate/message_enum_test.dart index 801afd4d44f..55eb38bfb54 100644 --- a/tests/lib/isolate/message_enum_test.dart +++ b/tests/lib/isolate/message_enum_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'package:expect/expect.dart'; diff --git a/tests/lib/isolate/message_test.dart b/tests/lib/isolate/message_test.dart index 8a7ec692022..5e6cd6bc65b 100644 --- a/tests/lib/isolate/message_test.dart +++ b/tests/lib/isolate/message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib/isolate/mint_maker_test.dart b/tests/lib/isolate/mint_maker_test.dart index c4b25ec0b81..f82315ed175 100644 --- a/tests/lib/isolate/mint_maker_test.dart +++ b/tests/lib/isolate/mint_maker_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library MintMakerTest; diff --git a/tests/lib/isolate/native_wrapper_message_test.dart b/tests/lib/isolate/native_wrapper_message_test.dart index 366a84b2364..27c294cf7af 100644 --- a/tests/lib/isolate/native_wrapper_message_test.dart +++ b/tests/lib/isolate/native_wrapper_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib/isolate/nested_spawn2_test.dart b/tests/lib/isolate/nested_spawn2_test.dart index d3359093c85..f8cf00af15c 100644 --- a/tests/lib/isolate/nested_spawn2_test.dart +++ b/tests/lib/isolate/nested_spawn2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can spawn other isolates and diff --git a/tests/lib/isolate/nested_spawn_test.dart b/tests/lib/isolate/nested_spawn_test.dart index 0bc8c7764b1..952c1923039 100644 --- a/tests/lib/isolate/nested_spawn_test.dart +++ b/tests/lib/isolate/nested_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can spawn other isolates. diff --git a/tests/lib/isolate/non_fatal_exception_in_timer_callback_test.dart b/tests/lib/isolate/non_fatal_exception_in_timer_callback_test.dart index b361171a3f0..0d2e8cc011c 100644 --- a/tests/lib/isolate/non_fatal_exception_in_timer_callback_test.dart +++ b/tests/lib/isolate/non_fatal_exception_in_timer_callback_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/lib/isolate/object_leak_test.dart b/tests/lib/isolate/object_leak_test.dart index b8b94b4b283..d563786ec45 100644 --- a/tests/lib/isolate/object_leak_test.dart +++ b/tests/lib/isolate/object_leak_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test for http://dartbug.com/18942 diff --git a/tests/lib/isolate/ondone_test.dart b/tests/lib/isolate/ondone_test.dart index f3788554289..0f11aaf47f1 100644 --- a/tests/lib/isolate/ondone_test.dart +++ b/tests/lib/isolate/ondone_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/package_config_test.dart b/tests/lib/isolate/package_config_test.dart index a2cfece3e70..c4119b20f39 100644 --- a/tests/lib/isolate/package_config_test.dart +++ b/tests/lib/isolate/package_config_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // VMOptions=--trace_shutdown import 'dart:io'; diff --git a/tests/lib/isolate/package_resolve_test.dart b/tests/lib/isolate/package_resolve_test.dart index 50686a3c183..99cb6f17470 100644 --- a/tests/lib/isolate/package_resolve_test.dart +++ b/tests/lib/isolate/package_resolve_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib/isolate/package_root_test.dart b/tests/lib/isolate/package_root_test.dart index 390df69fb69..4b3d46b46ac 100644 --- a/tests/lib/isolate/package_root_test.dart +++ b/tests/lib/isolate/package_root_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib/isolate/pause_test.dart b/tests/lib/isolate/pause_test.dart index 1e97f00afb6..31e091de5a3 100644 --- a/tests/lib/isolate/pause_test.dart +++ b/tests/lib/isolate/pause_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/ping_pause_test.dart b/tests/lib/isolate/ping_pause_test.dart index 48ad1356a76..d83d55f6516 100644 --- a/tests/lib/isolate/ping_pause_test.dart +++ b/tests/lib/isolate/ping_pause_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/ping_test.dart b/tests/lib/isolate/ping_test.dart index 4371a4c0e12..e9a0d051c55 100644 --- a/tests/lib/isolate/ping_test.dart +++ b/tests/lib/isolate/ping_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/port_test.dart b/tests/lib/isolate/port_test.dart index 937d75e64c4..b66fc4f8776 100644 --- a/tests/lib/isolate/port_test.dart +++ b/tests/lib/isolate/port_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test properties of ports. diff --git a/tests/lib/isolate/raw_port_test.dart b/tests/lib/isolate/raw_port_test.dart index 6f242122fef..d0b8695ba76 100644 --- a/tests/lib/isolate/raw_port_test.dart +++ b/tests/lib/isolate/raw_port_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test RawReceivePort. diff --git a/tests/lib/isolate/regress_34752_test.dart b/tests/lib/isolate/regress_34752_test.dart index dafff2964bc..fc171393dee 100644 --- a/tests/lib/isolate/regress_34752_test.dart +++ b/tests/lib/isolate/regress_34752_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Verifies that large BigInt can be passed through a message port and diff --git a/tests/lib/isolate/regress_flutter_22796_test.dart b/tests/lib/isolate/regress_flutter_22796_test.dart index 1cab5f1e614..f97ca055d7a 100644 --- a/tests/lib/isolate/regress_flutter_22796_test.dart +++ b/tests/lib/isolate/regress_flutter_22796_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Verifies that large typed data can be passed in a field through message port. diff --git a/tests/lib/isolate/request_reply_test.dart b/tests/lib/isolate/request_reply_test.dart index 54d4d7c2d85..3dd9274ff9f 100644 --- a/tests/lib/isolate/request_reply_test.dart +++ b/tests/lib/isolate/request_reply_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library RequestReplyTest; diff --git a/tests/lib/isolate/resolve_package_uri_test.dart b/tests/lib/isolate/resolve_package_uri_test.dart index 9ea1d038403..b926ccdc576 100644 --- a/tests/lib/isolate/resolve_package_uri_test.dart +++ b/tests/lib/isolate/resolve_package_uri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test for faulty encoding of `Isolate.resolvePackageUri` by diff --git a/tests/lib/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart b/tests/lib/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart index 50686a3c183..99cb6f17470 100644 --- a/tests/lib/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart +++ b/tests/lib/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib/isolate/send_private_test.dart b/tests/lib/isolate/send_private_test.dart index 8ed717fafb4..46114c8abff 100644 --- a/tests/lib/isolate/send_private_test.dart +++ b/tests/lib/isolate/send_private_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/simple_message_test.dart b/tests/lib/isolate/simple_message_test.dart index f0310af7fbd..677998cddf7 100644 --- a/tests/lib/isolate/simple_message_test.dart +++ b/tests/lib/isolate/simple_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates are spawned. diff --git a/tests/lib/isolate/spawn_function_custom_class_test.dart b/tests/lib/isolate/spawn_function_custom_class_test.dart index 0046cef62c1..5abcae63be6 100644 --- a/tests/lib/isolate/spawn_function_custom_class_test.dart +++ b/tests/lib/isolate/spawn_function_custom_class_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Create a user-defined class in a new isolate. diff --git a/tests/lib/isolate/spawn_function_test.dart b/tests/lib/isolate/spawn_function_test.dart index bd8d1c16c6b..22c5c8aa470 100644 --- a/tests/lib/isolate/spawn_function_test.dart +++ b/tests/lib/isolate/spawn_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a function. diff --git a/tests/lib/isolate/spawn_generic_test.dart b/tests/lib/isolate/spawn_generic_test.dart index 109f2a87f88..572f985ba22 100644 --- a/tests/lib/isolate/spawn_generic_test.dart +++ b/tests/lib/isolate/spawn_generic_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Check that Isolate.spawn is generic. diff --git a/tests/lib/isolate/spawn_uri_exported_main_test.dart b/tests/lib/isolate/spawn_uri_exported_main_test.dart index 837486e3fe4..20959cd1763 100644 --- a/tests/lib/isolate/spawn_uri_exported_main_test.dart +++ b/tests/lib/isolate/spawn_uri_exported_main_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib/isolate/spawn_uri_fail_test.dart b/tests/lib/isolate/spawn_uri_fail_test.dart index 6c9dc98b103..84d54b0d67f 100644 --- a/tests/lib/isolate/spawn_uri_fail_test.dart +++ b/tests/lib/isolate/spawn_uri_fail_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:io"; diff --git a/tests/lib/isolate/spawn_uri_missing_from_isolate_test.dart b/tests/lib/isolate/spawn_uri_missing_from_isolate_test.dart index 02521b6e92a..915ffa4c382 100644 --- a/tests/lib/isolate/spawn_uri_missing_from_isolate_test.dart +++ b/tests/lib/isolate/spawn_uri_missing_from_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups /// Tests that Isolate.spawnUri completes with an error when the given URI diff --git a/tests/lib/isolate/spawn_uri_missing_test.dart b/tests/lib/isolate/spawn_uri_missing_test.dart index 19344ba8886..86eaf9d6890 100644 --- a/tests/lib/isolate/spawn_uri_missing_test.dart +++ b/tests/lib/isolate/spawn_uri_missing_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups /// Tests that Isolate.spanUri completes with an error when the given URI diff --git a/tests/lib/isolate/spawn_uri_multi_test.dart b/tests/lib/isolate/spawn_uri_multi_test.dart index d5fdc46fa03..38a22ee88af 100644 --- a/tests/lib/isolate/spawn_uri_multi_test.dart +++ b/tests/lib/isolate/spawn_uri_multi_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Negative test to make sure that we are reaching all assertions. diff --git a/tests/lib/isolate/spawn_uri_nested_vm_test.dart b/tests/lib/isolate/spawn_uri_nested_vm_test.dart index 087b5fc4747..5da7fa9f789 100644 --- a/tests/lib/isolate/spawn_uri_nested_vm_test.dart +++ b/tests/lib/isolate/spawn_uri_nested_vm_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of nested spawning of isolates from a URI diff --git a/tests/lib/isolate/spawn_uri_test.dart b/tests/lib/isolate/spawn_uri_test.dart index 28d7bce4b54..543b6270ec7 100644 --- a/tests/lib/isolate/spawn_uri_test.dart +++ b/tests/lib/isolate/spawn_uri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a URI diff --git a/tests/lib/isolate/spawn_uri_vm_test.dart b/tests/lib/isolate/spawn_uri_vm_test.dart index 3832b4209f4..48d30a2f70b 100644 --- a/tests/lib/isolate/spawn_uri_vm_test.dart +++ b/tests/lib/isolate/spawn_uri_vm_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a URI diff --git a/tests/lib/isolate/start_paused_test.dart b/tests/lib/isolate/start_paused_test.dart index c9b2b579038..5ca7fefa0ee 100644 --- a/tests/lib/isolate/start_paused_test.dart +++ b/tests/lib/isolate/start_paused_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library start_paused_test; diff --git a/tests/lib/isolate/static_function_test.dart b/tests/lib/isolate/static_function_test.dart index e1ece068d44..92151ac69f0 100644 --- a/tests/lib/isolate/static_function_test.dart +++ b/tests/lib/isolate/static_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test starting isolate with static functions (and toplevel ones, for sanity). diff --git a/tests/lib/isolate/string_from_environment_default_value_test.dart b/tests/lib/isolate/string_from_environment_default_value_test.dart index 78b2febe6fd..6c2adfbb121 100644 --- a/tests/lib/isolate/string_from_environment_default_value_test.dart +++ b/tests/lib/isolate/string_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib/isolate/timer_isolate_test.dart b/tests/lib/isolate/timer_isolate_test.dart index 58e93c5c094..b2c98d90955 100644 --- a/tests/lib/isolate/timer_isolate_test.dart +++ b/tests/lib/isolate/timer_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library multiple_timer_test; diff --git a/tests/lib/isolate/timer_multiple_isolates_test.dart b/tests/lib/isolate/timer_multiple_isolates_test.dart index 3f7d8f39723..a2f5611ef50 100644 --- a/tests/lib/isolate/timer_multiple_isolates_test.dart +++ b/tests/lib/isolate/timer_multiple_isolates_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library timer_multiple_isolates_test; diff --git a/tests/lib/isolate/transferable_failed_to_send_test.dart b/tests/lib/isolate/transferable_failed_to_send_test.dart index ac6f80ed975..a8d3bcdc3a8 100644 --- a/tests/lib/isolate/transferable_failed_to_send_test.dart +++ b/tests/lib/isolate/transferable_failed_to_send_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:io" show ServerSocket; diff --git a/tests/lib/isolate/transferable_test.dart b/tests/lib/isolate/transferable_test.dart index 8680828059d..f8888e73cb6 100644 --- a/tests/lib/isolate/transferable_test.dart +++ b/tests/lib/isolate/transferable_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib/isolate/typed_message_test.dart b/tests/lib/isolate/typed_message_test.dart index 38e24d08aa6..955204dd6ac 100644 --- a/tests/lib/isolate/typed_message_test.dart +++ b/tests/lib/isolate/typed_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing isolate communication with // typed objects. diff --git a/tests/lib/isolate/unresolved_ports_test.dart b/tests/lib/isolate/unresolved_ports_test.dart index 7707fab91b7..fa41bb46182 100644 --- a/tests/lib/isolate/unresolved_ports_test.dart +++ b/tests/lib/isolate/unresolved_ports_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // spawns multiple isolates and sends unresolved ports between them. diff --git a/tests/lib/isolate/vm_rehash_test.dart b/tests/lib/isolate/vm_rehash_test.dart index f5a0a73ab6f..6c1065c1bec 100644 --- a/tests/lib/isolate/vm_rehash_test.dart +++ b/tests/lib/isolate/vm_rehash_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/lib_2/isolate/bool_from_environment_default_value_test.dart b/tests/lib_2/isolate/bool_from_environment_default_value_test.dart index 42582face3a..a1a2d9bbd23 100644 --- a/tests/lib_2/isolate/bool_from_environment_default_value_test.dart +++ b/tests/lib_2/isolate/bool_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/capability_test.dart b/tests/lib_2/isolate/capability_test.dart index fd6c4d3399d..4c09118105a 100644 --- a/tests/lib_2/isolate/capability_test.dart +++ b/tests/lib_2/isolate/capability_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/compile_time_error_test.dart b/tests/lib_2/isolate/compile_time_error_test.dart index 578bb8cae3e..74744c30437 100644 --- a/tests/lib_2/isolate/compile_time_error_test.dart +++ b/tests/lib_2/isolate/compile_time_error_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that errors thrown from isolates are diff --git a/tests/lib_2/isolate/count_test.dart b/tests/lib_2/isolate/count_test.dart index 0095e604120..276862ca4b6 100644 --- a/tests/lib_2/isolate/count_test.dart +++ b/tests/lib_2/isolate/count_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library CountTest; diff --git a/tests/lib_2/isolate/cross_isolate_message_test.dart b/tests/lib_2/isolate/cross_isolate_message_test.dart index ede3792952d..3b406cc92fd 100644 --- a/tests/lib_2/isolate/cross_isolate_message_test.dart +++ b/tests/lib_2/isolate/cross_isolate_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can communicate to isolates diff --git a/tests/lib_2/isolate/deferred_in_isolate2_test.dart b/tests/lib_2/isolate/deferred_in_isolate2_test.dart index 52e5428d37c..9eddc1c0ded 100644 --- a/tests/lib_2/isolate/deferred_in_isolate2_test.dart +++ b/tests/lib_2/isolate/deferred_in_isolate2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library deferred_in_isolate2_test; diff --git a/tests/lib_2/isolate/deferred_in_isolate_test.dart b/tests/lib_2/isolate/deferred_in_isolate_test.dart index d44f075711e..167815b4cfc 100644 --- a/tests/lib_2/isolate/deferred_in_isolate_test.dart +++ b/tests/lib_2/isolate/deferred_in_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test that deferred libraries are supported from isolates other than the root diff --git a/tests/lib_2/isolate/enum_const_test.dart b/tests/lib_2/isolate/enum_const_test.dart index 0a57f135201..3766cb59abb 100644 --- a/tests/lib_2/isolate/enum_const_test.dart +++ b/tests/lib_2/isolate/enum_const_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/error_at_spawn_test.dart b/tests/lib_2/isolate/error_at_spawn_test.dart index c22f41e6915..dcb033b7cc7 100644 --- a/tests/lib_2/isolate/error_at_spawn_test.dart +++ b/tests/lib_2/isolate/error_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_at_spawn; diff --git a/tests/lib_2/isolate/error_at_spawnuri_test.dart b/tests/lib_2/isolate/error_at_spawnuri_test.dart index 6d0e073c7bb..2c33f1198de 100644 --- a/tests/lib_2/isolate/error_at_spawnuri_test.dart +++ b/tests/lib_2/isolate/error_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_at_spawnuri; diff --git a/tests/lib_2/isolate/error_exit_at_spawn_test.dart b/tests/lib_2/isolate/error_exit_at_spawn_test.dart index 95430253fbc..7033c1f22b6 100644 --- a/tests/lib_2/isolate/error_exit_at_spawn_test.dart +++ b/tests/lib_2/isolate/error_exit_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_exit_at_spawn; diff --git a/tests/lib_2/isolate/error_exit_at_spawnuri_test.dart b/tests/lib_2/isolate/error_exit_at_spawnuri_test.dart index cf32b9819e1..7f4f4d65c3c 100644 --- a/tests/lib_2/isolate/error_exit_at_spawnuri_test.dart +++ b/tests/lib_2/isolate/error_exit_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library error_exit_at_spawnuri; diff --git a/tests/lib_2/isolate/exit_at_spawn_test.dart b/tests/lib_2/isolate/exit_at_spawn_test.dart index 4a2574eb3ce..3feb840bc3b 100644 --- a/tests/lib_2/isolate/exit_at_spawn_test.dart +++ b/tests/lib_2/isolate/exit_at_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library exit_at_spawn; diff --git a/tests/lib_2/isolate/exit_at_spawnuri_test.dart b/tests/lib_2/isolate/exit_at_spawnuri_test.dart index 5bb9ed8c73e..e77fe04810c 100644 --- a/tests/lib_2/isolate/exit_at_spawnuri_test.dart +++ b/tests/lib_2/isolate/exit_at_spawnuri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library exit_at_spawn; diff --git a/tests/lib_2/isolate/function_send1_test.dart b/tests/lib_2/isolate/function_send1_test.dart index 9b977399198..95e6195175b 100644 --- a/tests/lib_2/isolate/function_send1_test.dart +++ b/tests/lib_2/isolate/function_send1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/function_send_test.dart b/tests/lib_2/isolate/function_send_test.dart index 001d857f1e0..93c5f834826 100644 --- a/tests/lib_2/isolate/function_send_test.dart +++ b/tests/lib_2/isolate/function_send_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/handle_error2_test.dart b/tests/lib_2/isolate/handle_error2_test.dart index 435a3ae871b..ec7f11c6921 100644 --- a/tests/lib_2/isolate/handle_error2_test.dart +++ b/tests/lib_2/isolate/handle_error2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib_2/isolate/handle_error3_test.dart b/tests/lib_2/isolate/handle_error3_test.dart index 15b40ce7ded..8c24b827180 100644 --- a/tests/lib_2/isolate/handle_error3_test.dart +++ b/tests/lib_2/isolate/handle_error3_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib_2/isolate/handle_error_test.dart b/tests/lib_2/isolate/handle_error_test.dart index 365f1225540..c37904aa6cc 100644 --- a/tests/lib_2/isolate/handle_error_test.dart +++ b/tests/lib_2/isolate/handle_error_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library handle_error_test; diff --git a/tests/lib_2/isolate/illegal_msg_function_test.dart b/tests/lib_2/isolate/illegal_msg_function_test.dart index 5b5aa454d59..5fcaf8aa98d 100644 --- a/tests/lib_2/isolate/illegal_msg_function_test.dart +++ b/tests/lib_2/isolate/illegal_msg_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library illegal_msg_function_test; diff --git a/tests/lib_2/isolate/illegal_msg_mirror_test.dart b/tests/lib_2/isolate/illegal_msg_mirror_test.dart index a15572deaf7..7fd70ab9fbd 100644 --- a/tests/lib_2/isolate/illegal_msg_mirror_test.dart +++ b/tests/lib_2/isolate/illegal_msg_mirror_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library illegal_msg_mirror_test; diff --git a/tests/lib_2/isolate/int32_length_overflow_test.dart b/tests/lib_2/isolate/int32_length_overflow_test.dart index 85e2bd7af9b..b7f51cf4eec 100644 --- a/tests/lib_2/isolate/int32_length_overflow_test.dart +++ b/tests/lib_2/isolate/int32_length_overflow_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib_2/isolate/int_from_environment_default_value_test.dart b/tests/lib_2/isolate/int_from_environment_default_value_test.dart index af7ccac13bf..7bf07612515 100644 --- a/tests/lib_2/isolate/int_from_environment_default_value_test.dart +++ b/tests/lib_2/isolate/int_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/isolate_complex_messages_test.dart b/tests/lib_2/isolate/isolate_complex_messages_test.dart index 64992dc37f4..606b3af5620 100644 --- a/tests/lib_2/isolate/isolate_complex_messages_test.dart +++ b/tests/lib_2/isolate/isolate_complex_messages_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing isolate communication with diff --git a/tests/lib_2/isolate/isolate_current_test.dart b/tests/lib_2/isolate/isolate_current_test.dart index 908c42df3e0..b4b0baea82c 100644 --- a/tests/lib_2/isolate/isolate_current_test.dart +++ b/tests/lib_2/isolate/isolate_current_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library isolate_current_test; diff --git a/tests/lib_2/isolate/isolate_import_test.dart b/tests/lib_2/isolate/isolate_import_test.dart index 211cced9b53..0438a4e94b6 100644 --- a/tests/lib_2/isolate/isolate_import_test.dart +++ b/tests/lib_2/isolate/isolate_import_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library IsolateImportNegativeTest; diff --git a/tests/lib_2/isolate/isolate_stress_test.dart b/tests/lib_2/isolate/isolate_stress_test.dart index 449d2591086..ddd68f2a266 100644 --- a/tests/lib_2/isolate/isolate_stress_test.dart +++ b/tests/lib_2/isolate/isolate_stress_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // This test creates a lot of isolates. This is meant to exhaust diff --git a/tests/lib_2/isolate/issue_21398_parent_isolate1_test.dart b/tests/lib_2/isolate/issue_21398_parent_isolate1_test.dart index dcb50196df9..bf21844406b 100644 --- a/tests/lib_2/isolate/issue_21398_parent_isolate1_test.dart +++ b/tests/lib_2/isolate/issue_21398_parent_isolate1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib_2/isolate/issue_21398_parent_isolate2_test.dart b/tests/lib_2/isolate/issue_21398_parent_isolate2_test.dart index feee51b0d9e..d092152e2d7 100644 --- a/tests/lib_2/isolate/issue_21398_parent_isolate2_test.dart +++ b/tests/lib_2/isolate/issue_21398_parent_isolate2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib_2/isolate/issue_21398_parent_isolate_test.dart b/tests/lib_2/isolate/issue_21398_parent_isolate_test.dart index 851bbf392db..601c9de6775 100644 --- a/tests/lib_2/isolate/issue_21398_parent_isolate_test.dart +++ b/tests/lib_2/isolate/issue_21398_parent_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib_2/isolate/issue_22778_test.dart b/tests/lib_2/isolate/issue_22778_test.dart index 28107cc754e..67d90a2a50c 100644 --- a/tests/lib_2/isolate/issue_22778_test.dart +++ b/tests/lib_2/isolate/issue_22778_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/issue_24243_parent_isolate_test.dart b/tests/lib_2/isolate/issue_24243_parent_isolate_test.dart index d92815f16f3..97e19291fcf 100644 --- a/tests/lib_2/isolate/issue_24243_parent_isolate_test.dart +++ b/tests/lib_2/isolate/issue_24243_parent_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:collection'; diff --git a/tests/lib_2/isolate/issue_35626_test.dart b/tests/lib_2/isolate/issue_35626_test.dart index 1563a839254..26ee9c69bb0 100644 --- a/tests/lib_2/isolate/issue_35626_test.dart +++ b/tests/lib_2/isolate/issue_35626_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Tests that sets of enums can be set through ports. diff --git a/tests/lib_2/isolate/issue_6610_test.dart b/tests/lib_2/isolate/issue_6610_test.dart index 2b4a987929a..ca701681473 100644 --- a/tests/lib_2/isolate/issue_6610_test.dart +++ b/tests/lib_2/isolate/issue_6610_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-experiment=no-non-nullable --enable-isolate-groups +// VMOptions=--enable-experiment=no-non-nullable --enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--enable-experiment=no-non-nullable --no-enable-isolate-groups // Testing that Isolate.spawn copies the source code of the parent isolate, diff --git a/tests/lib_2/isolate/kill2_test.dart b/tests/lib_2/isolate/kill2_test.dart index f2da76bce3d..08001f702c9 100644 --- a/tests/lib_2/isolate/kill2_test.dart +++ b/tests/lib_2/isolate/kill2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/kill_self_synchronously_test.dart b/tests/lib_2/isolate/kill_self_synchronously_test.dart index bdb61e850da..a7417070d4d 100644 --- a/tests/lib_2/isolate/kill_self_synchronously_test.dart +++ b/tests/lib_2/isolate/kill_self_synchronously_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/kill_self_test.dart b/tests/lib_2/isolate/kill_self_test.dart index 99131f437c7..34c81ae4986 100644 --- a/tests/lib_2/isolate/kill_self_test.dart +++ b/tests/lib_2/isolate/kill_self_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/kill_test.dart b/tests/lib_2/isolate/kill_test.dart index 4d1e77d8526..c69b7a1b68f 100644 --- a/tests/lib_2/isolate/kill_test.dart +++ b/tests/lib_2/isolate/kill_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/large_byte_data_leak_test.dart b/tests/lib_2/isolate/large_byte_data_leak_test.dart index 1313519a93c..fe2fda110ab 100644 --- a/tests/lib_2/isolate/large_byte_data_leak_test.dart +++ b/tests/lib_2/isolate/large_byte_data_leak_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib_2/isolate/large_byte_data_test.dart b/tests/lib_2/isolate/large_byte_data_test.dart index 8a78238d925..3861e5cc4b7 100644 --- a/tests/lib_2/isolate/large_byte_data_test.dart +++ b/tests/lib_2/isolate/large_byte_data_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib_2/isolate/mandel_isolate_test.dart b/tests/lib_2/isolate/mandel_isolate_test.dart index 99f5e489fda..c037a64a715 100644 --- a/tests/lib_2/isolate/mandel_isolate_test.dart +++ b/tests/lib_2/isolate/mandel_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library MandelIsolateTest; diff --git a/tests/lib_2/isolate/message2_test.dart b/tests/lib_2/isolate/message2_test.dart index 7c2e69105e7..422b499163d 100644 --- a/tests/lib_2/isolate/message2_test.dart +++ b/tests/lib_2/isolate/message2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib_2/isolate/message3_test.dart b/tests/lib_2/isolate/message3_test.dart index 6536b36ed3a..8fb1d8badca 100644 --- a/tests/lib_2/isolate/message3_test.dart +++ b/tests/lib_2/isolate/message3_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib_2/isolate/message4_test.dart b/tests/lib_2/isolate/message4_test.dart index ecdf9866a82..345b21f531c 100644 --- a/tests/lib_2/isolate/message4_test.dart +++ b/tests/lib_2/isolate/message4_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages with static diff --git a/tests/lib_2/isolate/message_const_type_arguments_1_test.dart b/tests/lib_2/isolate/message_const_type_arguments_1_test.dart index e5133aac37a..480cda5f5a5 100644 --- a/tests/lib_2/isolate/message_const_type_arguments_1_test.dart +++ b/tests/lib_2/isolate/message_const_type_arguments_1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // https://github.com/dart-lang/sdk/issues/35778 diff --git a/tests/lib_2/isolate/message_const_type_arguments_2_test.dart b/tests/lib_2/isolate/message_const_type_arguments_2_test.dart index 002aa6e8f74..8398d2bf6c0 100644 --- a/tests/lib_2/isolate/message_const_type_arguments_2_test.dart +++ b/tests/lib_2/isolate/message_const_type_arguments_2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // https://github.com/dart-lang/sdk/issues/35778 diff --git a/tests/lib_2/isolate/message_enum_test.dart b/tests/lib_2/isolate/message_enum_test.dart index 801afd4d44f..55eb38bfb54 100644 --- a/tests/lib_2/isolate/message_enum_test.dart +++ b/tests/lib_2/isolate/message_enum_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'package:expect/expect.dart'; diff --git a/tests/lib_2/isolate/message_test.dart b/tests/lib_2/isolate/message_test.dart index 1d7cd785109..0ee5a67df39 100644 --- a/tests/lib_2/isolate/message_test.dart +++ b/tests/lib_2/isolate/message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. diff --git a/tests/lib_2/isolate/mint_maker_test.dart b/tests/lib_2/isolate/mint_maker_test.dart index 18bbb91aace..3545eebda28 100644 --- a/tests/lib_2/isolate/mint_maker_test.dart +++ b/tests/lib_2/isolate/mint_maker_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library MintMakerTest; diff --git a/tests/lib_2/isolate/native_wrapper_message_test.dart b/tests/lib_2/isolate/native_wrapper_message_test.dart index 2b663d5dc8e..4c06821aecc 100644 --- a/tests/lib_2/isolate/native_wrapper_message_test.dart +++ b/tests/lib_2/isolate/native_wrapper_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:isolate'; diff --git a/tests/lib_2/isolate/nested_spawn2_test.dart b/tests/lib_2/isolate/nested_spawn2_test.dart index d3359093c85..f8cf00af15c 100644 --- a/tests/lib_2/isolate/nested_spawn2_test.dart +++ b/tests/lib_2/isolate/nested_spawn2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can spawn other isolates and diff --git a/tests/lib_2/isolate/nested_spawn_test.dart b/tests/lib_2/isolate/nested_spawn_test.dart index 0bc8c7764b1..952c1923039 100644 --- a/tests/lib_2/isolate/nested_spawn_test.dart +++ b/tests/lib_2/isolate/nested_spawn_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates can spawn other isolates. diff --git a/tests/lib_2/isolate/non_fatal_exception_in_timer_callback_test.dart b/tests/lib_2/isolate/non_fatal_exception_in_timer_callback_test.dart index b361171a3f0..0d2e8cc011c 100644 --- a/tests/lib_2/isolate/non_fatal_exception_in_timer_callback_test.dart +++ b/tests/lib_2/isolate/non_fatal_exception_in_timer_callback_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/lib_2/isolate/object_leak_test.dart b/tests/lib_2/isolate/object_leak_test.dart index b8b94b4b283..d563786ec45 100644 --- a/tests/lib_2/isolate/object_leak_test.dart +++ b/tests/lib_2/isolate/object_leak_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test for http://dartbug.com/18942 diff --git a/tests/lib_2/isolate/ondone_test.dart b/tests/lib_2/isolate/ondone_test.dart index 9445f94873e..10b039efbaf 100644 --- a/tests/lib_2/isolate/ondone_test.dart +++ b/tests/lib_2/isolate/ondone_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/package_config_test.dart b/tests/lib_2/isolate/package_config_test.dart index a2cfece3e70..c4119b20f39 100644 --- a/tests/lib_2/isolate/package_config_test.dart +++ b/tests/lib_2/isolate/package_config_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // VMOptions=--trace_shutdown import 'dart:io'; diff --git a/tests/lib_2/isolate/package_resolve_test.dart b/tests/lib_2/isolate/package_resolve_test.dart index 50686a3c183..99cb6f17470 100644 --- a/tests/lib_2/isolate/package_resolve_test.dart +++ b/tests/lib_2/isolate/package_resolve_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib_2/isolate/package_root_test.dart b/tests/lib_2/isolate/package_root_test.dart index 390df69fb69..4b3d46b46ac 100644 --- a/tests/lib_2/isolate/package_root_test.dart +++ b/tests/lib_2/isolate/package_root_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib_2/isolate/pause_test.dart b/tests/lib_2/isolate/pause_test.dart index f2bfaac8c51..9a28a54aa7b 100644 --- a/tests/lib_2/isolate/pause_test.dart +++ b/tests/lib_2/isolate/pause_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/ping_pause_test.dart b/tests/lib_2/isolate/ping_pause_test.dart index 48ad1356a76..d83d55f6516 100644 --- a/tests/lib_2/isolate/ping_pause_test.dart +++ b/tests/lib_2/isolate/ping_pause_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/ping_test.dart b/tests/lib_2/isolate/ping_test.dart index 4371a4c0e12..e9a0d051c55 100644 --- a/tests/lib_2/isolate/ping_test.dart +++ b/tests/lib_2/isolate/ping_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/port_test.dart b/tests/lib_2/isolate/port_test.dart index e9465422cf5..9da0dce4620 100644 --- a/tests/lib_2/isolate/port_test.dart +++ b/tests/lib_2/isolate/port_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test properties of ports. diff --git a/tests/lib_2/isolate/raw_port_test.dart b/tests/lib_2/isolate/raw_port_test.dart index 6f242122fef..d0b8695ba76 100644 --- a/tests/lib_2/isolate/raw_port_test.dart +++ b/tests/lib_2/isolate/raw_port_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test RawReceivePort. diff --git a/tests/lib_2/isolate/regress_34752_test.dart b/tests/lib_2/isolate/regress_34752_test.dart index dafff2964bc..fc171393dee 100644 --- a/tests/lib_2/isolate/regress_34752_test.dart +++ b/tests/lib_2/isolate/regress_34752_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Verifies that large BigInt can be passed through a message port and diff --git a/tests/lib_2/isolate/regress_flutter_22796_test.dart b/tests/lib_2/isolate/regress_flutter_22796_test.dart index 1cab5f1e614..f97ca055d7a 100644 --- a/tests/lib_2/isolate/regress_flutter_22796_test.dart +++ b/tests/lib_2/isolate/regress_flutter_22796_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Verifies that large typed data can be passed in a field through message port. diff --git a/tests/lib_2/isolate/request_reply_test.dart b/tests/lib_2/isolate/request_reply_test.dart index 54d4d7c2d85..3dd9274ff9f 100644 --- a/tests/lib_2/isolate/request_reply_test.dart +++ b/tests/lib_2/isolate/request_reply_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library RequestReplyTest; diff --git a/tests/lib_2/isolate/resolve_package_uri_test.dart b/tests/lib_2/isolate/resolve_package_uri_test.dart index e55415ab5b9..26a48e27e6a 100644 --- a/tests/lib_2/isolate/resolve_package_uri_test.dart +++ b/tests/lib_2/isolate/resolve_package_uri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Regression test for faulty encoding of `Isolate.resolvePackageUri` by diff --git a/tests/lib_2/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart b/tests/lib_2/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart index 50686a3c183..99cb6f17470 100644 --- a/tests/lib_2/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart +++ b/tests/lib_2/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/lib_2/isolate/send_private_test.dart b/tests/lib_2/isolate/send_private_test.dart index 8ed717fafb4..46114c8abff 100644 --- a/tests/lib_2/isolate/send_private_test.dart +++ b/tests/lib_2/isolate/send_private_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/simple_message_test.dart b/tests/lib_2/isolate/simple_message_test.dart index f0310af7fbd..677998cddf7 100644 --- a/tests/lib_2/isolate/simple_message_test.dart +++ b/tests/lib_2/isolate/simple_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing that isolates are spawned. diff --git a/tests/lib_2/isolate/spawn_function_custom_class_test.dart b/tests/lib_2/isolate/spawn_function_custom_class_test.dart index 0046cef62c1..5abcae63be6 100644 --- a/tests/lib_2/isolate/spawn_function_custom_class_test.dart +++ b/tests/lib_2/isolate/spawn_function_custom_class_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Create a user-defined class in a new isolate. diff --git a/tests/lib_2/isolate/spawn_function_test.dart b/tests/lib_2/isolate/spawn_function_test.dart index fb90ba4d01f..2ad8b872756 100644 --- a/tests/lib_2/isolate/spawn_function_test.dart +++ b/tests/lib_2/isolate/spawn_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a function. diff --git a/tests/lib_2/isolate/spawn_generic_test.dart b/tests/lib_2/isolate/spawn_generic_test.dart index 7763ffa4a6d..92bd72e45ce 100644 --- a/tests/lib_2/isolate/spawn_generic_test.dart +++ b/tests/lib_2/isolate/spawn_generic_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Check that Isolate.spawn is generic. diff --git a/tests/lib_2/isolate/spawn_uri_exported_main_test.dart b/tests/lib_2/isolate/spawn_uri_exported_main_test.dart index b8a5501cea6..93f7c265ddd 100644 --- a/tests/lib_2/isolate/spawn_uri_exported_main_test.dart +++ b/tests/lib_2/isolate/spawn_uri_exported_main_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib_2/isolate/spawn_uri_fail_test.dart b/tests/lib_2/isolate/spawn_uri_fail_test.dart index 6c9dc98b103..84d54b0d67f 100644 --- a/tests/lib_2/isolate/spawn_uri_fail_test.dart +++ b/tests/lib_2/isolate/spawn_uri_fail_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:io"; diff --git a/tests/lib_2/isolate/spawn_uri_missing_from_isolate_test.dart b/tests/lib_2/isolate/spawn_uri_missing_from_isolate_test.dart index 02521b6e92a..915ffa4c382 100644 --- a/tests/lib_2/isolate/spawn_uri_missing_from_isolate_test.dart +++ b/tests/lib_2/isolate/spawn_uri_missing_from_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups /// Tests that Isolate.spawnUri completes with an error when the given URI diff --git a/tests/lib_2/isolate/spawn_uri_missing_test.dart b/tests/lib_2/isolate/spawn_uri_missing_test.dart index 79540b1868e..71644462f7b 100644 --- a/tests/lib_2/isolate/spawn_uri_missing_test.dart +++ b/tests/lib_2/isolate/spawn_uri_missing_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups /// Tests that Isolate.spanUri completes with an error when the given URI diff --git a/tests/lib_2/isolate/spawn_uri_multi_test.dart b/tests/lib_2/isolate/spawn_uri_multi_test.dart index d5fdc46fa03..38a22ee88af 100644 --- a/tests/lib_2/isolate/spawn_uri_multi_test.dart +++ b/tests/lib_2/isolate/spawn_uri_multi_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Negative test to make sure that we are reaching all assertions. diff --git a/tests/lib_2/isolate/spawn_uri_nested_vm_test.dart b/tests/lib_2/isolate/spawn_uri_nested_vm_test.dart index 087b5fc4747..5da7fa9f789 100644 --- a/tests/lib_2/isolate/spawn_uri_nested_vm_test.dart +++ b/tests/lib_2/isolate/spawn_uri_nested_vm_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of nested spawning of isolates from a URI diff --git a/tests/lib_2/isolate/spawn_uri_test.dart b/tests/lib_2/isolate/spawn_uri_test.dart index dbd4e6ad4f1..0b76b4f4fb3 100644 --- a/tests/lib_2/isolate/spawn_uri_test.dart +++ b/tests/lib_2/isolate/spawn_uri_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a URI diff --git a/tests/lib_2/isolate/spawn_uri_vm_test.dart b/tests/lib_2/isolate/spawn_uri_vm_test.dart index 3832b4209f4..48d30a2f70b 100644 --- a/tests/lib_2/isolate/spawn_uri_vm_test.dart +++ b/tests/lib_2/isolate/spawn_uri_vm_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Example of spawning an isolate from a URI diff --git a/tests/lib_2/isolate/start_paused_test.dart b/tests/lib_2/isolate/start_paused_test.dart index 12ccf6ec20e..217ebf4618f 100644 --- a/tests/lib_2/isolate/start_paused_test.dart +++ b/tests/lib_2/isolate/start_paused_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library start_paused_test; diff --git a/tests/lib_2/isolate/static_function_test.dart b/tests/lib_2/isolate/static_function_test.dart index 1c785a5214a..9d6946438e4 100644 --- a/tests/lib_2/isolate/static_function_test.dart +++ b/tests/lib_2/isolate/static_function_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Test starting isolate with static functions (and toplevel ones, for sanity). diff --git a/tests/lib_2/isolate/string_from_environment_default_value_test.dart b/tests/lib_2/isolate/string_from_environment_default_value_test.dart index 78b2febe6fd..6c2adfbb121 100644 --- a/tests/lib_2/isolate/string_from_environment_default_value_test.dart +++ b/tests/lib_2/isolate/string_from_environment_default_value_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:isolate"; diff --git a/tests/lib_2/isolate/timer_isolate_test.dart b/tests/lib_2/isolate/timer_isolate_test.dart index 58e93c5c094..b2c98d90955 100644 --- a/tests/lib_2/isolate/timer_isolate_test.dart +++ b/tests/lib_2/isolate/timer_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library multiple_timer_test; diff --git a/tests/lib_2/isolate/timer_multiple_isolates_test.dart b/tests/lib_2/isolate/timer_multiple_isolates_test.dart index 8fb9c3d668f..51ec4073c9b 100644 --- a/tests/lib_2/isolate/timer_multiple_isolates_test.dart +++ b/tests/lib_2/isolate/timer_multiple_isolates_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library timer_multiple_isolates_test; diff --git a/tests/lib_2/isolate/transferable_failed_to_send_test.dart b/tests/lib_2/isolate/transferable_failed_to_send_test.dart index ac6f80ed975..a8d3bcdc3a8 100644 --- a/tests/lib_2/isolate/transferable_failed_to_send_test.dart +++ b/tests/lib_2/isolate/transferable_failed_to_send_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:io" show ServerSocket; diff --git a/tests/lib_2/isolate/transferable_test.dart b/tests/lib_2/isolate/transferable_test.dart index 8680828059d..f8888e73cb6 100644 --- a/tests/lib_2/isolate/transferable_test.dart +++ b/tests/lib_2/isolate/transferable_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/lib_2/isolate/typed_message_test.dart b/tests/lib_2/isolate/typed_message_test.dart index 38e24d08aa6..955204dd6ac 100644 --- a/tests/lib_2/isolate/typed_message_test.dart +++ b/tests/lib_2/isolate/typed_message_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // Dart test program for testing isolate communication with // typed objects. diff --git a/tests/lib_2/isolate/unresolved_ports_test.dart b/tests/lib_2/isolate/unresolved_ports_test.dart index 7707fab91b7..fa41bb46182 100644 --- a/tests/lib_2/isolate/unresolved_ports_test.dart +++ b/tests/lib_2/isolate/unresolved_ports_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // spawns multiple isolates and sends unresolved ports between them. diff --git a/tests/lib_2/isolate/vm_rehash_test.dart b/tests/lib_2/isolate/vm_rehash_test.dart index f5a0a73ab6f..6c1065c1bec 100644 --- a/tests/lib_2/isolate/vm_rehash_test.dart +++ b/tests/lib_2/isolate/vm_rehash_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/standalone/io/echo_server_stream_test.dart b/tests/standalone/io/echo_server_stream_test.dart index 6da8ca28e94..18dc94a97a8 100644 --- a/tests/standalone/io/echo_server_stream_test.dart +++ b/tests/standalone/io/echo_server_stream_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Echo server test program to test socket streams. diff --git a/tests/standalone/io/file_system_watcher_test.dart b/tests/standalone/io/file_system_watcher_test.dart index dae7f9de886..e10bf9ddbf8 100644 --- a/tests/standalone/io/file_system_watcher_test.dart +++ b/tests/standalone/io/file_system_watcher_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone/io/http_advanced_test.dart b/tests/standalone/io/http_advanced_test.dart index 87553d90f93..0ee5d657159 100644 --- a/tests/standalone/io/http_advanced_test.dart +++ b/tests/standalone/io/http_advanced_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone/io/http_basic_test.dart b/tests/standalone/io/http_basic_test.dart index acc6eb55324..54e1a3553e0 100644 --- a/tests/standalone/io/http_basic_test.dart +++ b/tests/standalone/io/http_basic_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions=--trace_shutdown diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart index b6f4a7e4379..af757401617 100644 --- a/tests/standalone/io/http_read_test.dart +++ b/tests/standalone/io/http_read_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone/io/pipe_server_test.dart b/tests/standalone/io/pipe_server_test.dart index 52d93b6ef04..ab6b8e1aa6f 100644 --- a/tests/standalone/io/pipe_server_test.dart +++ b/tests/standalone/io/pipe_server_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // OtherResources=readline_test1.dat diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart index ace9d851389..adea57ef728 100644 --- a/tests/standalone/io/platform_test.dart +++ b/tests/standalone/io/platform_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone/io/raw_synchronous_socket_test.dart b/tests/standalone/io/raw_synchronous_socket_test.dart index 50cb0f21587..180c6bd9f57 100644 --- a/tests/standalone/io/raw_synchronous_socket_test.dart +++ b/tests/standalone/io/raw_synchronous_socket_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone/io/shared_socket_test.dart b/tests/standalone/io/shared_socket_test.dart index 3195b6382e1..15dac090dfd 100644 --- a/tests/standalone/io/shared_socket_test.dart +++ b/tests/standalone/io/shared_socket_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/standalone/io/socket_close_test.dart b/tests/standalone/io/socket_close_test.dart index 72a15de711d..41fa8ac70f1 100644 --- a/tests/standalone/io/socket_close_test.dart +++ b/tests/standalone/io/socket_close_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone/io/socket_finalizer_test.dart b/tests/standalone/io/socket_finalizer_test.dart index c82be229495..94c9bcc2746 100644 --- a/tests/standalone/io/socket_finalizer_test.dart +++ b/tests/standalone/io/socket_finalizer_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // This test checks that sockets belonging to an isolate are properly cleaned up diff --git a/tests/standalone/io/socket_many_connections_test.dart b/tests/standalone/io/socket_many_connections_test.dart index 0140df72a74..6b730387d9c 100644 --- a/tests/standalone/io/socket_many_connections_test.dart +++ b/tests/standalone/io/socket_many_connections_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Test creating a large number of socket connections. diff --git a/tests/standalone/io/stdio_socket_finalizer_test.dart b/tests/standalone/io/stdio_socket_finalizer_test.dart index c33da51af4e..46b42317c2f 100644 --- a/tests/standalone/io/stdio_socket_finalizer_test.dart +++ b/tests/standalone/io/stdio_socket_finalizer_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // This test checks that stdin is *not* closed when an Isolate leaks it. diff --git a/tests/standalone/io/wait_for_event_isolate_test.dart b/tests/standalone/io/wait_for_event_isolate_test.dart index ce624e21e3d..15b970f571a 100644 --- a/tests/standalone/io/wait_for_event_isolate_test.dart +++ b/tests/standalone/io/wait_for_event_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/standalone/packages_file_test.dart b/tests/standalone/packages_file_test.dart index 99c2ab5203c..d39c6dc6a04 100644 --- a/tests/standalone/packages_file_test.dart +++ b/tests/standalone/packages_file_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone/regress_26031_test.dart b/tests/standalone/regress_26031_test.dart index 60dd89b4e6c..25e9490c23a 100644 --- a/tests/standalone/regress_26031_test.dart +++ b/tests/standalone/regress_26031_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/standalone/regress_28854_1_test.dart b/tests/standalone/regress_28854_1_test.dart index 30b304a002d..2517e30a985 100644 --- a/tests/standalone/regress_28854_1_test.dart +++ b/tests/standalone/regress_28854_1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library regress; diff --git a/tests/standalone/regress_28854_2_test.dart b/tests/standalone/regress_28854_2_test.dart index 21395c13e24..e528d34b289 100644 --- a/tests/standalone/regress_28854_2_test.dart +++ b/tests/standalone/regress_28854_2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library regress; diff --git a/tests/standalone/typed_array_int64_uint64_test.dart b/tests/standalone/typed_array_int64_uint64_test.dart index 7b57986a462..fb6bd2d3f06 100644 --- a/tests/standalone/typed_array_int64_uint64_test.dart +++ b/tests/standalone/typed_array_int64_uint64_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing native typed arrays, int64 and uint64 only. diff --git a/tests/standalone/typed_array_test.dart b/tests/standalone/typed_array_test.dart index 6e4c6c3a108..d443da95a47 100644 --- a/tests/standalone/typed_array_test.dart +++ b/tests/standalone/typed_array_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing native float and int arrays. 64-bit int arrays diff --git a/tests/standalone/typed_data_isolate_test.dart b/tests/standalone/typed_data_isolate_test.dart index ab20d49b212..aede7b4de80 100644 --- a/tests/standalone/typed_data_isolate_test.dart +++ b/tests/standalone/typed_data_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing typed data. diff --git a/tests/standalone_2/io/echo_server_stream_test.dart b/tests/standalone_2/io/echo_server_stream_test.dart index a24b01e33e6..7b65388872b 100644 --- a/tests/standalone_2/io/echo_server_stream_test.dart +++ b/tests/standalone_2/io/echo_server_stream_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Echo server test program to test socket streams. diff --git a/tests/standalone_2/io/file_system_watcher_test.dart b/tests/standalone_2/io/file_system_watcher_test.dart index 6011831b1a1..bcca9a1cc13 100644 --- a/tests/standalone_2/io/file_system_watcher_test.dart +++ b/tests/standalone_2/io/file_system_watcher_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone_2/io/http_advanced_test.dart b/tests/standalone_2/io/http_advanced_test.dart index 4a90161f681..62d6b3093bd 100644 --- a/tests/standalone_2/io/http_advanced_test.dart +++ b/tests/standalone_2/io/http_advanced_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone_2/io/http_basic_test.dart b/tests/standalone_2/io/http_basic_test.dart index 98e552bc002..73b9e34b985 100644 --- a/tests/standalone_2/io/http_basic_test.dart +++ b/tests/standalone_2/io/http_basic_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions=--trace_shutdown diff --git a/tests/standalone_2/io/http_read_test.dart b/tests/standalone_2/io/http_read_test.dart index cddb43942f7..4b6d50eab62 100644 --- a/tests/standalone_2/io/http_read_test.dart +++ b/tests/standalone_2/io/http_read_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone_2/io/pipe_server_test.dart b/tests/standalone_2/io/pipe_server_test.dart index 78416512469..a77eeeba5da 100644 --- a/tests/standalone_2/io/pipe_server_test.dart +++ b/tests/standalone_2/io/pipe_server_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // OtherResources=readline_test1.dat diff --git a/tests/standalone_2/io/platform_test.dart b/tests/standalone_2/io/platform_test.dart index c64db54f627..a9a96f29efb 100644 --- a/tests/standalone_2/io/platform_test.dart +++ b/tests/standalone_2/io/platform_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone_2/io/raw_synchronous_socket_test.dart b/tests/standalone_2/io/raw_synchronous_socket_test.dart index dfdc492a16f..61eaab39e2e 100644 --- a/tests/standalone_2/io/raw_synchronous_socket_test.dart +++ b/tests/standalone_2/io/raw_synchronous_socket_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone_2/io/shared_socket_test.dart b/tests/standalone_2/io/shared_socket_test.dart index 2324884a154..67be96480dc 100644 --- a/tests/standalone_2/io/shared_socket_test.dart +++ b/tests/standalone_2/io/shared_socket_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/standalone_2/io/socket_close_test.dart b/tests/standalone_2/io/socket_close_test.dart index c59a05fa8c0..65689237c49 100644 --- a/tests/standalone_2/io/socket_close_test.dart +++ b/tests/standalone_2/io/socket_close_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // VMOptions= diff --git a/tests/standalone_2/io/socket_finalizer_test.dart b/tests/standalone_2/io/socket_finalizer_test.dart index cbaae2cccf2..e973a382f29 100644 --- a/tests/standalone_2/io/socket_finalizer_test.dart +++ b/tests/standalone_2/io/socket_finalizer_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // This test checks that sockets belonging to an isolate are properly cleaned up diff --git a/tests/standalone_2/io/socket_many_connections_test.dart b/tests/standalone_2/io/socket_many_connections_test.dart index 93353dd5f22..fd20d343815 100644 --- a/tests/standalone_2/io/socket_many_connections_test.dart +++ b/tests/standalone_2/io/socket_many_connections_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Test creating a large number of socket connections. diff --git a/tests/standalone_2/io/stdio_socket_finalizer_test.dart b/tests/standalone_2/io/stdio_socket_finalizer_test.dart index c8be0e39fbe..e458c557c3c 100644 --- a/tests/standalone_2/io/stdio_socket_finalizer_test.dart +++ b/tests/standalone_2/io/stdio_socket_finalizer_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // This test checks that stdin is *not* closed when an Isolate leaks it. diff --git a/tests/standalone_2/io/wait_for_event_isolate_test.dart b/tests/standalone_2/io/wait_for_event_isolate_test.dart index ce624e21e3d..15b970f571a 100644 --- a/tests/standalone_2/io/wait_for_event_isolate_test.dart +++ b/tests/standalone_2/io/wait_for_event_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:async'; diff --git a/tests/standalone_2/packages_file_test.dart b/tests/standalone_2/packages_file_test.dart index 99c2ab5203c..d39c6dc6a04 100644 --- a/tests/standalone_2/packages_file_test.dart +++ b/tests/standalone_2/packages_file_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import "dart:async"; diff --git a/tests/standalone_2/regress_26031_test.dart b/tests/standalone_2/regress_26031_test.dart index 7cc105880cc..c25454e3e16 100644 --- a/tests/standalone_2/regress_26031_test.dart +++ b/tests/standalone_2/regress_26031_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups import 'dart:io'; diff --git a/tests/standalone_2/regress_28854_1_test.dart b/tests/standalone_2/regress_28854_1_test.dart index 5b45c408134..9c2faa62b3d 100644 --- a/tests/standalone_2/regress_28854_1_test.dart +++ b/tests/standalone_2/regress_28854_1_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library regress; diff --git a/tests/standalone_2/regress_28854_2_test.dart b/tests/standalone_2/regress_28854_2_test.dart index 59a2c45fb16..e2919eaab7f 100644 --- a/tests/standalone_2/regress_28854_2_test.dart +++ b/tests/standalone_2/regress_28854_2_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups library regress; diff --git a/tests/standalone_2/typed_array_int64_uint64_test.dart b/tests/standalone_2/typed_array_int64_uint64_test.dart index 7b57986a462..fb6bd2d3f06 100644 --- a/tests/standalone_2/typed_array_int64_uint64_test.dart +++ b/tests/standalone_2/typed_array_int64_uint64_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing native typed arrays, int64 and uint64 only. diff --git a/tests/standalone_2/typed_array_test.dart b/tests/standalone_2/typed_array_test.dart index 6e4c6c3a108..d443da95a47 100644 --- a/tests/standalone_2/typed_array_test.dart +++ b/tests/standalone_2/typed_array_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing native float and int arrays. 64-bit int arrays diff --git a/tests/standalone_2/typed_data_isolate_test.dart b/tests/standalone_2/typed_data_isolate_test.dart index ab20d49b212..aede7b4de80 100644 --- a/tests/standalone_2/typed_data_isolate_test.dart +++ b/tests/standalone_2/typed_data_isolate_test.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// VMOptions=--enable-isolate-groups +// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit // VMOptions=--no-enable-isolate-groups // // Dart test program for testing typed data.