dart-sdk/tests/lib
Martin Kustermann e9b56794fc [vm/compiler] Make closures have no context if no variables are closed over
As a side-effect of making closures without captured variables have an
empty context, we not only avoid a memory leak, but also allow such
closures to be sent across [SendPort]s.

Issue https://github.com/dart-lang/sdk/issues/36983
Issue https://github.com/dart-lang/sdk/issues/45603

TEST=vm/dart{_2,}/isolates/closures_without_captured_variables_test

Change-Id: I5e8845203059ff625f7cff3f072d845b5e48ba36
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212297
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2021-09-03 12:35:58 +00:00
..
analyzer
async [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
collection Tweaks, refactoring and updates on DoubleLinkedQueue. 2021-08-31 12:44:39 +00:00
convert Fix null-safety migration bug in VM version of fuse JSON-UTF-8 decoder. 2021-06-07 11:43:02 +00:00
developer
fix_data_tests Add fixes for HttpStatus constants 2021-06-22 23:39:57 +00:00
html Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
isolate [vm/compiler] Make closures have no context if no variables are closed over 2021-09-03 12:35:58 +00:00
js [package:js] Allow external extension members for Native classes 2021-07-30 18:43:47 +00:00
math Fix behavior for -infinity width/height of rectangles. 2021-06-21 13:29:39 +00:00
mirrors Fix scope resolution of metadata on type parameters 2021-08-17 15:17:02 +00:00
typed_data Seal typed-data types. 2021-05-05 18:04:05 +00:00
wasm [wasm] Use wasm traps to handle exceptions 2020-11-02 23:32:20 +00:00
web [web] remove mirrors patch for web compilers. 2020-07-16 00:12:22 +00:00
analysis_options.yaml
lib.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00
lib_analyzer.status
lib_app_jit.status
lib_dart2js.status Optimize js_util callMethod calls for 0-4 arguments. 2021-06-30 20:11:44 +00:00
lib_dartdevc.status Refactored html/js_util_test.dart and added more js_util test coverage. 2021-02-24 00:58:47 +00:00
lib_kernel.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
lib_precompiled.status
lib_vm.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00