Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Enable lazy-async-stacks by-default in all modes (Take 3)#20895

Merged
mkustermann merged 1 commit into
masterfrom
unknown repository
Sep 7, 2020
Merged

Enable lazy-async-stacks by-default in all modes (Take 3)#20895
mkustermann merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Aug 31, 2020

Copy link
Copy Markdown

This is a third attempt at #16556 which was last reverted in #20165.

A fix for what we believe to have caused the issue that triggered the last rollback has landed upstream in Dart in dart-lang/sdk@0004589

I have manually run and verified that the relevant tests pass locally:

$ cd ~/src/flutter/flutter/ 
$ SHARD=tool_tests SUBSHARD=integration \
    ./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart \
        --local-engine=host_debug \
        --local-engine-src-path ~/src/flutter/engine/src

Original CL description:

This was already enabled by-default in AOT mode in [0] - which made the
gen_snapshot invocations use "--lazy-async-stacks --no-causal-async-stacks".

This change does the same with the engine defaults, which makes this be enabled
by-default in JIT mode as well.

See go/dart-10x-faster-async for more information.

[0] flutter/flutter@3478232

@auto-assign auto-assign Bot requested a review from gaaclarke August 31, 2020 06:43
@ghost

ghost commented Sep 3, 2020

Copy link
Copy Markdown
Author

[+ @zanderso who reviewed the previous CL]

@zanderso zanderso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but please wait to land until there is a successful engine -> framework roll: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

@mkustermann

Copy link
Copy Markdown
Contributor

lgtm, but please wait to land until there is a successful engine -> framework roll

There was a successful roll over the weekend. So let's land this.

@mkustermann mkustermann merged commit 575a519 into flutter-team-archive:master Sep 7, 2020
zanderso added a commit that referenced this pull request Sep 9, 2020
zanderso added a commit that referenced this pull request Sep 9, 2020
zanderso pushed a commit to flutter/flutter that referenced this pull request Sep 9, 2020
* 556cb23 Roll Skia from 6763a713f957 to d91cd6b5ee2b (3 revisions) (flutter-team-archive/engine#20989)

* b6a3c54 Roll Fuchsia Linux SDK from A0PKwETay... to gfAt63Ezd... (flutter-team-archive/engine#21005)

* cceb733 Roll Fuchsia Mac SDK from sih5f60Gt... to 9pfHLZEFU... (flutter-team-archive/engine#21006)

* 5539820 Roll Skia from d91cd6b5ee2b to a73a84f9b8e3 (1 revision) (flutter-team-archive/engine#21007)

* b4cc631 Roll Dart SDK from f3a9ca88b664 to e59935669cb0 (1 revision) (flutter-team-archive/engine#21008)

* 6cf0cc4 Roll Skia from a73a84f9b8e3 to d0fe7d37d678 (1 revision) (flutter-team-archive/engine#21011)

* 5b055bb Roll Skia from d0fe7d37d678 to 611a52108b01 (2 revisions) (flutter-team-archive/engine#21012)

* 575a519 Enable lazy-async-stacks by-default in all modes (Take 3) (flutter-team-archive/engine#20895)

* 040a794 Roll Fuchsia Mac SDK from 9pfHLZEFU... to tUwahggJ8... (flutter-team-archive/engine#21013)

* 22cca4c Roll Dart SDK from e59935669cb0 to f745f9447ddf (1 revision) (flutter-team-archive/engine#21014)

* 539cb69 Roll Fuchsia Linux SDK from gfAt63Ezd... to Ta3F40BV6... (flutter-team-archive/engine#21015)

* 7d927dd Roll Dart SDK from f745f9447ddf to b88c06c314f4 (1 revision) (flutter-team-archive/engine#21016)

* 09a5bf7 Tweak the mdns error message (flutter-team-archive/engine#20991)

* d0d9ce6 Roll Fuchsia Linux SDK from Ta3F40BV6... to coVjRTWSf... (flutter-team-archive/engine#21018)

* 808bb85 Roll Fuchsia Mac SDK from tUwahggJ8... to TyNHQXzNU... (flutter-team-archive/engine#21019)

* 5aa6921 Roll Skia from 611a52108b01 to cd54c8385c31 (2 revisions) (flutter-team-archive/engine#21021)

* e7d558f Roll Dart SDK from b88c06c314f4 to 33b6c95936e0 (2 revisions) (flutter-team-archive/engine#21023)

* af90dd3 Roll Skia from cd54c8385c31 to c0d3495e1ee2 (12 revisions) (flutter-team-archive/engine#21024)

* f0fb74b Avoid crashing and display error if the process cannot be prepared for JIT mode Dart VM. (flutter-team-archive/engine#20980)

* 6a6c23a Roll Skia from c0d3495e1ee2 to cf1a4f50121f (6 revisions) (flutter-team-archive/engine#21026)

* 716dce0 Android 30r3 (flutter-team-archive/engine#21025)

* 7431070 Roll Dart SDK from 33b6c95936e0 to a2c9cae4dcd8 (1 revision) (flutter-team-archive/engine#21027)

* cef383d Roll Skia from cf1a4f50121f to 04b9443274cf (2 revisions) (flutter-team-archive/engine#21028)

* cf8c6b8 Update web lerpDouble to match C++ behaviour (flutter-team-archive/engine#21010)

* 6866675 Roll Skia from 04b9443274cf to b8ae7fa12aa0 (1 revision) (flutter-team-archive/engine#21030)

* c538f40 Roll Dart SDK from a2c9cae4dcd8 to ffbfa2000435 (1 revision) (flutter-team-archive/engine#21031)

* 89d34b0 Roll Skia from b8ae7fa12aa0 to 445c8ebcb710 (1 revision) (flutter-team-archive/engine#21032)

* 7766d2e Roll Fuchsia Mac SDK from TyNHQXzNU... to Phn3nF_BJ... (flutter-team-archive/engine#21034)

* e3de8d0 Roll Fuchsia Linux SDK from coVjRTWSf... to eBus_y4DN... (flutter-team-archive/engine#21035)

* beb7df5 Roll Skia from 445c8ebcb710 to f9d5940fef55 (3 revisions) (flutter-team-archive/engine#21037)

* f3a17b6 Roll Skia from f9d5940fef55 to 81c6d6eeb4cf (1 revision) (flutter-team-archive/engine#21038)

* bbcc495 Roll Dart SDK from ffbfa2000435 to 2e838b7b4503 (2 revisions) (flutter-team-archive/engine#21039)

* 61062fd Roll Skia from 81c6d6eeb4cf to 81606b5d9774 (5 revisions) (flutter-team-archive/engine#21041)

* f7c7b41 Revert "Enable lazy-async-stacks by-default in all modes (Take 3) (#20895)" (flutter-team-archive/engine#21043)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

3 participants