dart-sdk/tests/lib
Martin Kustermann d7c0271ac0 [vm/concurrency] Add missing WeakProperty support to transitive copy
The transitive copy algorithm was missing support for [WeakProperty]s,
thereby ensuring that we only copy the values if the keys are reachable.

Furthermore we might need to re-hash [Expando]s - since the copied
objects start with no identity hash codes.

The CL also makes us avoid calling to Dart for each [Expando]
separately and instead use a list - just as we do in the re-hashing of
maps/sets.

We also move the C++ code to invoke rehashing logic into
DartLibraryCalls::*.

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

TEST=vm/dart{,_2}/isolates/fast_object_copy{,2}_test

Change-Id: I836745feef8a6d7573faa94e29a19c1eca0c39f2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209106
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2021-08-09 23:56:19 +00:00
..
analyzer Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
async Add unawaited function and ignore extensions member. 2021-06-22 20:03:13 +00:00
collection Update LinkedList.contains to take advantage of internal structure. 2020-12-02 14:08:08 +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 Migrate lib_2/developer/timeline_recorders_test.dart to null safety. 2020-06-25 21:21:32 +00:00
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/concurrency] Add missing WeakProperty support to transitive copy 2021-08-09 23:56:19 +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 Remove two tests using a deferred type 2021-07-01 20:53:05 +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 [tests] Add analysis options file to migrated test directories 2020-03-16 20:51:26 +00:00
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 Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_app_jit.status Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
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 Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_vm.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00