mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:45:06 +00:00
26ef8f6947
Closures can be shared if they have no state they capture (i.e. a null context). Otherwise we copy them by also transitively copying the parent context chain. Issue https://github.com/dart-lang/sdk/issues/36097 TEST=Added tests to vm/dart{,_2}/isolates/fast_object_copy{,2}_test Change-Id: Ie641b97806edd0c21f0a8d5c514f8e850823e165 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209110 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Alexander Aprelev <aam@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> |
||
---|---|---|
.. | ||
analyzer | ||
async | ||
collection | ||
convert | ||
developer | ||
html | ||
isolate | ||
js | ||
math | ||
mirrors | ||
typed_data | ||
wasm | ||
web | ||
lib_2.status | ||
lib_2_app_jit.status | ||
lib_2_dart2js.status | ||
lib_2_dartdevc.status | ||
lib_2_kernel.status | ||
lib_2_precompiled.status | ||
lib_2_vm.status |