406 Commits

Author SHA1 Message Date
chunhtai 7a27e75c67 Add shell api to set default for windows data (#14002) 2020-01-08 19:36:10 -08:00
gaaclarke 46adf73d51 Made it so you can specify the old gen heap size. (#15259) 2020-01-08 10:20:52 -08:00
George Wright 1d3bb8c271 Fix message_loop_fuchsia and thus enable fml_tests and flow_tests for Fuchsia (#14583) 2019-12-19 17:25:06 -05:00
Gityuan 9dc23b8be8 Fix missing API stream when record event in systrace (#14323) 2019-12-11 15:51:47 -08:00
Gityuan d698d96cea Fix missing timeline event of flutter engine's startup time (#14319)
Fixes https://github.com/flutter/flutter/issues/46744
2019-12-11 15:40:23 -08:00
Jason Simmons b7d4278b4f Create separate objects for isolate state and isolate group state (#14268)
Isolate data may need to be deleted on the same thread where it was allocated.
In particular, the task observer set up in the UIDartState ctor must be removed
from the same message loop where it was added.

The engine had been using the same DartIsolate object as the root isolate data
and as the isolate group data.  This object would be deleted when the isolate
group was shut down.  However, group shutdown may occur on a thread associated
with a secondary isolate.  When this happens, cleanup of any state tied to the
root isolate's thread will fail.

This change adds a DartIsolateGroupData object holding state that is common
among all isolates in a group.  DartIsolateGroupData can be deleted on any
thread.

See https://github.com/flutter/flutter/issues/45578
2019-12-10 10:34:50 -08:00
David Worsham 2fc1e1bce1 Relanding: Add Flow unittests and fixtures (#14091) 2019-12-03 14:33:02 -08:00
Kaushik Iska ea228f2f83 Revert "Fix fml_unittests (#14062)" (#14087)
This reverts commit 6c605f8a96.
2019-12-03 12:24:19 -08:00
liyuqian 84bf72917c Revert PRs to unblock David and Jim's work (#14088)
* Revert "Add flow test fixtures and tests (#13986)"

This reverts commit 620f5281b8.

* Revert "Dynamically determine whether to use offscreen surface based on need (#13976)"

This reverts commit a86ef94656.
2019-12-03 12:02:37 -08:00
David Worsham 620f5281b8 Add flow test fixtures and tests (#13986) 2019-12-03 09:43:02 -08:00
David Worsham 6c605f8a96 Fix fml_unittests (#14062) 2019-11-27 16:04:30 -08:00
gaaclarke 89e395853c Refactor to passing functions by const ref (#13975)
Moved our code to passing functions by const ref
2019-11-22 12:20:02 -08:00
Alexander Aprelev 096ba6892a Reland children isolates sharing isolate group change. (#13758)
* Revert "Revert "Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)" (#12327)"

* Ensure that when isolate shuts down it calls isolate_data, rather than isolage_group_data callback.
2019-11-15 09:22:26 -08:00
chunhtai 1f1e2ba58e reland add lifecycle enum (#13767)
This reverts commit 8ebb318401.
2019-11-13 11:26:25 -08:00
chunhtai 8ebb318401 Revert "Issues/39832 reland (#13642)" (#13720)
This reverts commit 1bfb928e07.
2019-11-06 11:41:36 -08:00
chunhtai 1bfb928e07 Issues/39832 reland (#13642)
* Reland "Added new lifecycle enum (#11913)"
2019-11-05 14:52:16 -08:00
Gary Qian 0928c1af2f Add 'Cough' test font and support multiple test fonts. (#13649) 2019-11-05 12:27:34 -08:00
chunhtai fe0838e948 Revert "Added new lifecycle enum (#11913)" (#13632)
This reverts commit 02a4790074.
2019-11-04 13:40:20 -08:00
chunhtai 02a4790074 Added new lifecycle enum (#11913) 2019-11-04 12:33:41 -08:00
Dan Field 0a8bd9dd6f Fix mDNS for iOS13 (#13451) 2019-11-01 15:29:15 -07:00
gaaclarke 1eb15c12fb Revert 78a8ca0f62 (#13467)
Put `Picture.toImage` back on the GPU thread.  Left the unit tests intact.
2019-10-31 16:57:52 -07:00
Ryan Macnak f6900001eb Roll Dart to 6a65ea9cad4b014f88d2f1be1b321db493725a1c. (#13294)
Remove dead shared snapshot arguments to Dart_CreateIsolateGroup.

6a65ea9cad4b [vm] Remove shared snapshot and reused instructions features.
db8370e36147 [gardening] Fix frontend-server dartdevc windows test.
4601bd7bffea Modified supertype check error message to be more descriptive.
0449905e2de6 [CFE] Add a serialization-and-unserialization step to strong test
c8b903c2f94f Update CHANGELOG.md
2a12a13d9684 [Test] Skips emit_aot_size_info_flag_test on crossword.
b26127fe01a5 [cfe] Add reachability test skeleton
2019-10-22 13:14:20 -07:00
Jason Simmons 4ecfa62735 Hold a reference to the Skia unref queue in UIDartState (#13239)
Obtaining the SkiaUnrefQueue through the IOManager is unsafe because
UIDartState has a weak pointer to the IOManager that can not be dereferenced
on the UI thread.
2019-10-21 14:15:03 -07:00
Chinmay Garde c147eddc2d Document //flutter/runtime/dart_snapshot.h (#13196)
Related to https://github.com/flutter/flutter/issues/42778
2019-10-17 13:20:18 -07:00
Chinmay Garde a925df1898 Remove incomplete static thread safety annotations. (#13151)
Fixes https://github.com/flutter/flutter/issues/42704.
2019-10-16 17:28:31 -07:00