Commit Graph

385 Commits

Author SHA1 Message Date
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
Chinmay Garde e235c5920e Document //flutter/runtime/dart_isolate.h (#13162)
Related to https://github.com/flutter/flutter/issues/42778
2019-10-16 12:06:34 -07:00
Chinmay Garde 73d6e3f531 Make the Dart isolate constructor private. (#13153)
Found this while attempting to document //flutter/runtime. The only reason this was public was because of the desire to use make_shared. I want to documentation changes to include no code changes. Hence this separate patch.
2019-10-15 15:06:57 -07:00
Chinmay Garde ecf325f505 Document //flutter/runtime/dart_vm (#13144) 2019-10-15 14:11:07 -07:00
Chinmay Garde cef6751dba Revert "Test child isolates are terminated when root is shutdown (#13048)" (#13067)
This reverts commit e96c740410.
2019-10-10 13:02:27 -07:00
Gary Qian e96c740410 Test child isolates are terminated when root is shutdown (#13048) 2019-10-10 15:31:46 -04:00
Chinmay Garde 86e3ebb748 Allow embedders to specify arbitrary data to the isolate on launch. (#13047)
Since this is currently only meant to be used by the embedding internally, the setter in Objective-C is only exposed via the FlutterDartProject private class extension. Unit tests have been added to the shell_unittests harness.

Fixes https://github.com/flutter/flutter/issues/37641
2019-10-10 12:31:14 -07:00
Jonah Williams 6f5eb1332f Add support for JIT release mode (#12446) 2019-09-27 11:20:54 -07:00
Alexander Aprelev 5f3b749e92 Update test to verify that secondary isolate gets shutdown before root isolate exits. (#12342)
* Update secondary-isolate-launch test to verify that secondary isolate gets shutdown before root isolate exits.

* ci/format.sh
2019-09-23 14:29:00 -07:00
Kaushik Iska 7f7250f476 [flutter_runner] Do not use prebuilts just yet (#12340) 2019-09-18 15:31:57 -07:00
Kaushik Iska 23835f5529 Revert "Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)" (#12327)
This reverts commit e6620ddb73.
2019-09-17 15:57:37 -07:00
Kaushik Iska 7ea9884ab0 [flutter_runner] Kernel platform files can now be built in topaz (#12016)
- Tested this compatibility in topaz repo. The build rules can now be
used to build kernel_platform_files in topaz tree, after this change we
can migrate the platform*dill and vm*snapshot files in topaz to use the
engine built artifacts.

- Also removes some namespace conflicts for dart configuration.
2019-09-06 14:34:26 -07:00
shoryukenn 8f4a0a7c9a Support build windows release/profile embedding builds (#11475)
Fixes missing symbol errors in Windows release and profile builds due to different lookup approach on Windows.

Fixes https://github.com/flutter/flutter/issues/32746
2019-09-05 11:28:30 -07:00
Alexander Aprelev e6620ddb73 Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)
* Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group.

Without this callback each child isolate is created as a separate isolate group, and Dart VM won't be able to provide performance savings for spawning of those.
2019-09-04 10:10:25 -07:00
Chinmay Garde b7d03138ed Remove deprecated ThreadTest::GetThreadTaskRunner and use the newer CreateNewThread API. (#11395)
We will end up creating fewer threads in tests.
2019-08-23 12:21:46 -07:00
Dan Field c29c9bc0cd Make JIT work on iPhone armv7 (#11038) 2019-08-15 20:28:08 -07:00
Jason Simmons 0f32302bc1 Avoid dynamic lookups of the engine library's symbols on Android (#11001)
The dynamic linker on some older versions of Android on x86 fails when doing
dlsym(RTLD_DEFAULT) lookups of symbols exported by the engine library itself.
The engine needs to do this for some data files that are linked into the engine
library (ICU data and Dart snapshot blobs).

To work around this, the engine will declare static symbols for these data
objects on the affected platforms.

Fixes https://github.com/flutter/flutter/issues/20091
2019-08-14 12:40:40 -07:00
Chinmay Garde 8becf442f9 Wire up a concurrent message loop backed SkExecutor for Skia. (#10788)
Fixes https://github.com/flutter/flutter/issues/37885
2019-08-08 20:54:43 -07:00
sjindel-google d6a02a3f67 Ensure debug-mode apps are always attached on iOS. (#10186) 2019-08-06 01:07:33 +02:00
Kaushik Iska 5edd787cf2 [fuchsia] Push CMX to fars and add product mode support (#10144)
* Capture stderr for ninja command

* br

* [fuchsia] Push CMX to fars and add product mode support.

* fix shit

* fix GN format
2019-07-25 15:09:04 -07:00
Chinmay Garde 2bf150659c Disable DartLifecycleTest::ShuttingDownTheVMShutsDownAllIsolates in runtime_unittests. (#10064)
Filed https://github.com/flutter/flutter/issues/35218 to track.
2019-07-23 12:31:11 -07:00
Chinmay Garde 9eed783e94 Selectively enable tests that work on Windows and file issues for ones that don't. (#9852)
This is in preparation for the  tryjobs to run these tests. The LUCI harness will also be updated so that the tests to run are specified in the repo instead of the recipe.
2019-07-16 13:30:57 -07:00