Martin Kustermann
96d40d1caa
[vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests
...
This is a preparation CL to remove the --enable-isolate-groups flag in
the VM.
The following tests were only running in --no-enable-isolate-groups and
are therefore obsolete now:
- runtime/tests/vm/dart/regress_47468_test.dart
- runtime/tests/vm/dart_2/regress_47468_test.dart
- tests/lib/isolate/illegal_msg_function_test.dart
- tests/lib_2/isolate/illegal_msg_function_test.dart
TEST=Changes tests only.
Change-Id: I6257cb667eebca66a649614d3010139dd2cdd3ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219100
Reviewed-by: Alexander Aprelev <aam@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2021-11-04 18:57:21 +00:00
Martin Kustermann
627292bcc0
[vm] Remove --experimental-enable-isolate-groups-jit, only guard via --enable-isolate-groups
...
The JIT support has progressed and is no longer unstable. We'll
therefore remove the experimental flag and rely on the same
--enable-isolate-groups flag as in AOT mode.
Issue https://github.com/dart-lang/sdk/issues/36097
TEST=Existing test suite.
Change-Id: Iff0dd5b64d9b6ab91ad9ffc0ae445efc802d3908
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207122
Auto-Submit: Martin Kustermann <kustermann@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
Commit-Queue: Slava Egorov <vegorov@google.com >
Reviewed-by: Slava Egorov <vegorov@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2021-07-16 09:13:28 +00:00
Leaf Petersen
b101a7d002
Add language versions to _2 test libraries
...
Change-Id: Ib33169c3e0ffc870915c189404074a1dea472546
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196548
Reviewed-by: Bob Nystrom <rnystrom@google.com >
Commit-Queue: Leaf Petersen <leafp@google.com >
2021-04-26 17:58:57 +00:00
Alexander Aprelev
6b3abe0a98
[vm/concurrency] Add --experimental_enable_isolate_groups_jit flag, make --enable_isolate_groups AOT only.
...
Issue b/177800357.
TEST=existing test suite
Change-Id: Id6b113932ab7014b8fa6c105845c5c490b60f5e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/181320
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2021-01-27 17:11:29 +00:00
Ben Konyi
d1c8aae6d8
[ VM ] Update lib_2/isolate tests to no longer use package:unittest
...
Fixes https://github.com/dart-lang/sdk/issues/40799
Change-Id: Ia65221c2a14b9d8e923e394ebc1c35ea5dad4c6f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139953
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2020-03-19 00:57:26 +00:00
Martin Kustermann
5aa86eb123
[vm/concurrency] Run all isolate related tests with/without enabling isolate groups
...
Issue https://github.com/dart-lang/sdk/issues/36097
Change-Id: I0b7eca744bc49ab5ba09da3ce2a9286b1ed3c70f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126340
Commit-Queue: Martin Kustermann <kustermann@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2019-11-27 17:23:31 +00:00
Clement Skau
bdec682558
[Test] Fixes flakiness in spawn_function_test caused by racing.
...
Previously the test would create and run an isolate, then checking the debugName of the isolate.
However, if the isolate ran to completion and got collected before the check happened, the debugName would be null, causing the test to fail.
The test was running at about 1.5% flakiness when run locally before.
With the change no flakiness was observed across several couple hundred runs.
Tested:
tools/test.py -n dartk-optcounter-linux-release-x64 \
lib_2/isolate/spawn_function_test --repeat=1000
Change-Id: I0aea6bbae08fbe321e1bea7301655ad06ec3dcd2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108410
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Clement Skau <cskau@google.com >
2019-07-29 10:24:58 +00:00
Ben Konyi
ac2c934563
Reland "[ VM / dart:isolate ] Added ability to set names for spawned isolates."
...
This reverts commit 638f13ff3d .
Change-Id: Ib5015539b1c93791c2469be6995789f8f0362806
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97845
Commit-Queue: Ben Konyi <bkonyi@google.com >
Auto-Submit: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-03-28 16:39:50 +00:00
Daco Harkes
638f13ff3d
Revert "[ VM / dart:isolate ] Added ability to set names for spawned isolates."
...
This reverts commit 59525264e8 .
Reason for revert: causes Flutter test observatory and protocol to deadlock.
Issue: https://github.com/dart-lang/sdk/issues/36232
Original change's description:
> [ VM / dart:isolate ] Added ability to set names for spawned isolates.
>
> Fixes issue #34059
>
> Change-Id: I315498b02edc184e9e408c93eddb78aa1a5a8a1d
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90341
> Commit-Queue: Ben Konyi <bkonyi@google.com >
> Reviewed-by: Sigmund Cherem <sigmund@google.com >
> Reviewed-by: Ryan Macnak <rmacnak@google.com >
TBR=bkonyi@google.com ,rmacnak@google.com ,asiva@google.com ,sigmund@google.com
Change-Id: I5f2115a2ac394a8d4c7c175bc97f2b88b65fcb49
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97107
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Daco Harkes <dacoharkes@google.com >
2019-03-15 14:40:37 +00:00
Ben Konyi
59525264e8
[ VM / dart:isolate ] Added ability to set names for spawned isolates.
...
Fixes issue #34059
Change-Id: I315498b02edc184e9e408c93eddb78aa1a5a8a1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90341
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-03-14 22:23:09 +00:00
Ben Konyi
e2f92be5ae
Migrated test block 34 to Dart 2.0.
...
Bug:
Change-Id: Ib2e0effabc354b5864f59b0de6611381d7dfd0df
Reviewed-on: https://dart-review.googlesource.com/11250
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2017-10-06 22:52:56 +00:00