dart-sdk/tests/lib_2
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 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
developer Add language versions to _2 test libraries 2021-04-26 17:58: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 [cfe] Remove isOptOutTest work-around 2021-08-04 10:44:00 +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 [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
wasm Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
web Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
lib_2.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00
lib_2_app_jit.status
lib_2_dart2js.status Optimize js_util callMethod calls for 0-4 arguments. 2021-06-30 20:11:44 +00:00
lib_2_dartdevc.status Refactored html/js_util_test.dart and added more js_util test coverage. 2021-02-24 00:58:47 +00:00
lib_2_kernel.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
lib_2_precompiled.status
lib_2_vm.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00