dart-sdk/tests/isolate
Alexander Markov bda3c9c2b2 Simplify and fix implicit closure check, speed up Closure_equals, v2
This is the re-application of 44e8da3ecd
with fixes:
* Dartanalyzer error is fixed in the new test isolate/message4_test
* The new test is skipped in the status file in dart2j/non-d8 modes,
  issue #30247 is created.
* Minor tweak of Closure_equals: other.IsClosure() is tested earlier.

Original CL review:

https://codereview.chromium.org/2989493002/

Original CL description:

This CL introduces a new Function kind, kImplicitClosureFunction, in
order to simplify check for implicit closures and make it more
efficient.

This CL also fixes Function::IsImplicitStaticClosureFunction(RawFunction*)
to correctly handle implicit closures created from static native
functions.

Closes #30203.

As the result of a faster check for implicit closures and slight
refactoring of Closure_equals, micro-benchmark exercising Closure_equals
speeds up from 9618ms to 6700ms for implicit closures case and
insignificantly for other cases.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2987703002 .
2017-07-24 09:43:52 -07:00
..
browser Format all tests. 2017-04-17 14:53:02 -07:00
scenarios Format all tests. 2017-04-17 14:53:02 -07:00
bool_from_environment_default_value_test.dart Move isolate tests to lib/isolate. 2015-05-11 17:59:51 +00:00
capability_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
checked_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
compile_time_error_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
count_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
cross_isolate_message_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
deferred_in_isolate2_lib.dart Cosmetic changes to deferred_in_isolate2_test. 2015-05-11 20:55:59 +00:00
deferred_in_isolate2_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
deferred_in_isolate_app.dart Move isolate tests to lib/isolate. 2015-05-11 17:59:51 +00:00
deferred_in_isolate_lib.dart Format all tests. 2017-04-17 14:53:02 -07:00
deferred_in_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
deferred_loaded_lib.dart Format all tests. 2017-04-17 14:53:02 -07:00
enum_const_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
error_at_spawn_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
error_at_spawnuri_iso.dart - Implement VM parts of https://codereview.chromium.org/1240743003/ 2015-07-20 16:46:54 +02:00
error_at_spawnuri_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
error_exit_at_spawn_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
error_exit_at_spawnuri_iso.dart - Implement VM parts of https://codereview.chromium.org/1240743003/ 2015-07-20 16:46:54 +02:00
error_exit_at_spawnuri_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
exit_at_spawn_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
exit_at_spawnuri_iso.dart - Implement VM parts of https://codereview.chromium.org/1240743003/ 2015-07-20 16:46:54 +02:00
exit_at_spawnuri_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
function_send1_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
function_send_test.dart Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
handle_error2_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
handle_error3_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
handle_error_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
illegal_msg_function_test.dart Allow sending static/top-level functions through ports and as isolate 2014-09-22 08:29:45 +00:00
illegal_msg_mirror_test.dart Upgrading tests with unittest deprecations 2014-03-31 18:33:18 +00:00
int_from_environment_default_value_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
isolate.status Simplify and fix implicit closure check, speed up Closure_equals, v2 2017-07-24 09:43:52 -07:00
isolate_complex_messages_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
isolate_current_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
isolate_import_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
isolate_stress_test.dart Very simple version of Isolates. 2013-10-25 19:23:00 +00:00
issue_21398_child_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_21398_child_isolate1.dart Add missing file (missed it in last round). 2015-01-12 23:35:55 +00:00
issue_21398_child_isolate11.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_21398_parent_isolate1_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_21398_parent_isolate2_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
issue_21398_parent_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_22778_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_24243_child1_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_24243_child2_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_24243_child3_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
issue_24243_parent_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
kill2_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
kill_self_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
kill_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
mandel_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
message2_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
message3_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
message4_test.dart Simplify and fix implicit closure check, speed up Closure_equals, v2 2017-07-24 09:43:52 -07:00
message_enum_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
message_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
mint_maker_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
nested_spawn2_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
nested_spawn_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
object_leak_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
ondone_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
package_config_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
package_resolve_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
package_root_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
pause_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
ping_pause_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
ping_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
port_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
raw_port_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
remote_unittest_helper.dart Format all tests. 2017-04-17 14:53:02 -07:00
request_reply_test.dart Upgrading tests with unittest deprecations 2014-03-31 18:33:18 +00:00
resolve_package_uri_test.dart Fix handling of async patches. 2017-07-10 16:08:08 +02:00
send_private_test.dart An isolate created with spawn function doesn't necessarily agree with its parent on the library private keys. 2016-11-23 15:36:01 -08:00
simple_message_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
spawn_function_custom_class_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_function_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_child_isolate.dart Remove static clues from spawn_uri_child_isolate.dart 2016-11-15 13:19:29 +01:00
spawn_uri_exported_main.dart Fix http://dartbug.com/22115 2015-01-22 21:28:27 +00:00
spawn_uri_exported_main_lib.dart Fix http://dartbug.com/22115 2015-01-22 21:28:27 +00:00
spawn_uri_exported_main_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_fail_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_missing_from_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_missing_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_multi_test.dart Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
spawn_uri_nested_child1_vm_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_nested_child2_vm_isolate.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_nested_vm_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
spawn_uri_vm_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
stacktrace_message_test.dart Upgrading tests with unittest deprecations 2014-03-31 18:33:18 +00:00
start_paused_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
static_function_lib.dart Format all tests. 2017-04-17 14:53:02 -07:00
static_function_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
string_from_environment_default_value_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
timer_isolate_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
typed_message_test.dart Format all tests. 2017-04-17 14:53:02 -07:00
unresolved_ports_test.dart Format all tests. 2017-04-17 14:53:02 -07:00