dart-sdk/tests/lib_2
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 Normalize status files 2019-06-19 23:04:01 +00:00
async [cfe] Remove isOptOutTest work-around 2021-08-04 10:44:00 +00:00
collection Add language versions to _2 test libraries 2021-04-26 17:58:57 +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/concurrency] Add missing WeakProperty support to transitive copy 2021-08-09 23:56:19 +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 Add Object.hash and Object.hashAll static helper methods. 2021-06-25 11:40:35 +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 Remove appJit and precompiled compiler options 2019-06-24 16:07:27 +00:00
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 Delete lib_2/async/timer_not_available_test. 2019-09-12 22:58:07 +00:00
lib_2_vm.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00