dart-sdk/tests
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
..
co19 [co19] Remove Compiler-tear-offs tests from status files. 2021-06-03 10:49:04 +00:00
co19_2 [co19_2] Tests skipped according to issues 46483 and 42222 2021-07-27 08:20:57 +00:00
corelib Adjust symbol tests to new semantics 2021-07-01 18:43:14 +00:00
corelib_2 [cfe] Remove isOptOutTest work-around 2021-08-04 10:44:00 +00:00
dartdevc [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
dartdevc_2 [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
ffi [VM] Moves FfiNative fields to function parent. 2021-08-09 09:13:38 +00:00
ffi_2 [vm] Remove --experimental-enable-isolate-groups-jit, only guard via --enable-isolate-groups 2021-07-16 09:13:28 +00:00
language analyzer: add constructor references from PrefixedIdentifier 2021-08-09 15:03:48 +00:00
language_2 analyzer: add constructor references from PrefixedIdentifier 2021-08-09 15:03:48 +00:00
lib [vm/concurrency] Add missing WeakProperty support to transitive copy 2021-08-09 23:56:19 +00:00
lib_2 [vm/concurrency] Add missing WeakProperty support to transitive copy 2021-08-09 23:56:19 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone [gardening] Ensure directory_fuzz_test creates test directories in temp folder, not in check-out location. 2021-08-06 15:32:22 +00:00
standalone_2 [gardening] Ensure directory_fuzz_test creates test directories in temp folder, not in check-out location. 2021-08-06 15:32:22 +00:00
web Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
web_2 Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
README.md Update tests/README to point to new doc. 2019-08-06 22:19:42 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.