dart-sdk/runtime
Alexander Aprelev 4138277ee6 [vm/shared] Introduce 'vm:shared' pragma.
Decorating a field with 'vm:shared' pragma makes values in this field accessible to all isolates in an isolate group.

Introduce `channel` to the `Version` class so that the pragma can only be enabled on main and dev channels.

TEST=shared_test, shared_fail_without_flag_test
BUG=https://github.com/dart-lang/sdk/issues/55991

Change-Id: I843c9f0d2ffc9f2ced7ddc4006bb6f9ca4e2ddf4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370064
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2024-06-14 23:24:19 +00:00
..
bin [VM/Runtime] - Remove unused sound_null_safety command line option. 2024-06-12 20:51:31 +00:00
docs [vm/shared] Introduce 'vm:shared' pragma. 2024-06-14 23:24:19 +00:00
include [vm] Native asset relative path resolution with symlinks 2024-06-12 16:45:19 +00:00
lib [vm, gc] Check for pause requests when marking large arrays. 2024-06-12 20:53:18 +00:00
observatory [status_files] Cleanup status files 2024-06-12 10:21:23 +00:00
platform Fix build regression on alpine linux 2024-06-14 07:39:30 +00:00
tests [vm/shared] Introduce 'vm:shared' pragma. 2024-06-14 23:24:19 +00:00
tools [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
vm [vm/shared] Introduce 'vm:shared' pragma. 2024-06-14 23:24:19 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm, compiler] Allow targeting TSAN or MSAN by passing a flag to gen_snapshot. 2024-05-08 17:03:59 +00:00
codereview.settings
configs.gni [Runtime] Add extra_product_deps and extra_nonproduct_deps params to "library_for_all_configs_with_compiler" template 2023-04-14 19:51:40 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS
PRESUBMIT.py Reland "Reland "[VM] Begin supporting Perfetto file recorder"" 2023-04-18 19:39:05 +00:00
runtime_args.gni Reland "[Fuchsia] Remove the legacy gn build rules for fuchsia" 2024-03-14 20:22:12 +00:00
vm-jit.shard.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
vm.shard.cml [fuchsia][sysmem2] route fuchsia.sysmem2.Allocator 2024-05-10 17:00:29 +00:00