Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
e78e405e
E
engine
项目概览
weixin_43355755
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e78e405e
编写于
10月 20, 2020
作者:
C
Clement Skau
提交者:
GitHub
10月 20, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Enable lazy-async-stacks by-default in all modes (Take 4) (#21802)
上级
2ef0f422
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
14 addition
and
12 deletion
+14
-12
runtime/dart_vm.cc
runtime/dart_vm.cc
+2
-1
shell/common/shell_unittests.cc
shell/common/shell_unittests.cc
+2
-0
shell/platform/fuchsia/dart_runner/dart_runner.cc
shell/platform/fuchsia/dart_runner/dart_runner.cc
+1
-2
shell/platform/fuchsia/dart_runner/embedder/BUILD.gn
shell/platform/fuchsia/dart_runner/embedder/BUILD.gn
+1
-0
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
+1
-2
shell/platform/fuchsia/dart_runner/vmservice/BUILD.gn
shell/platform/fuchsia/dart_runner/vmservice/BUILD.gn
+1
-0
shell/platform/fuchsia/flutter/component.cc
shell/platform/fuchsia/flutter/component.cc
+1
-3
shell/platform/fuchsia/flutter/kernel/BUILD.gn
shell/platform/fuchsia/flutter/kernel/BUILD.gn
+1
-2
testing/scenario_app/compile_ios_jit.sh
testing/scenario_app/compile_ios_jit.sh
+2
-1
testing/testing.gni
testing/testing.gni
+2
-1
未找到文件。
runtime/dart_vm.cc
浏览文件 @
e78e405e
...
...
@@ -59,7 +59,8 @@ static const char* kDartLanguageArgs[] = {
// clang-format off
"--enable_mirrors=false"
,
"--background_compilation"
,
"--causal_async_stacks"
,
"--no-causal_async_stacks"
,
"--lazy_async_stacks"
,
// clang-format on
};
...
...
shell/common/shell_unittests.cc
浏览文件 @
e78e405e
...
...
@@ -316,6 +316,8 @@ TEST_F(ShellTest, AllowedDartVMFlag) {
std
::
vector
<
const
char
*>
flags
=
{
"--enable-isolate-groups"
,
"--no-enable-isolate-groups"
,
"--lazy_async_stacks"
,
"--no-causal_async_stacks"
,
};
#if !FLUTTER_RELEASE
flags
.
push_back
(
"--max_profile_depth 1"
);
...
...
shell/platform/fuchsia/dart_runner/dart_runner.cc
浏览文件 @
e78e405e
...
...
@@ -36,9 +36,8 @@ namespace {
const
char
*
kDartVMArgs
[]
=
{
// clang-format off
// TODO(FL-117): Re-enable causal async stack traces when this issue is
// addressed.
"--no_causal_async_stacks"
,
"--lazy_async_stacks"
,
"--systrace_timeline"
,
"--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM"
,
...
...
shell/platform/fuchsia/dart_runner/embedder/BUILD.gn
浏览文件 @
e78e405e
...
...
@@ -47,6 +47,7 @@ template("create_aot_snapshot") {
args = [
"--no_causal_async_stacks",
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=vm-aot-assembly",
"--assembly=" + rebase_path(snapshot_assembly),
...
...
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
浏览文件 @
e78e405e
...
...
@@ -68,9 +68,8 @@ template("create_kernel_core_snapshot") {
tool = gen_snapshot_to_use
args = [
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
"--lazy_async_stacks",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",
...
...
shell/platform/fuchsia/dart_runner/vmservice/BUILD.gn
浏览文件 @
e78e405e
...
...
@@ -58,6 +58,7 @@ template("aot_snapshot") {
args = [
"--no_causal_async_stacks",
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=app-aot-elf",
"--elf=" + rebase_path(snapshot_path),
...
...
shell/platform/fuchsia/flutter/component.cc
浏览文件 @
e78e405e
...
...
@@ -402,9 +402,7 @@ Application::Application(
settings_
.
task_observer_remove
=
std
::
bind
(
&
CurrentMessageLoopRemoveAfterTaskObserver
,
std
::
placeholders
::
_1
);
// TODO(FL-117): Re-enable causal async stack traces when this issue is
// addressed.
settings_
.
dart_flags
=
{
"--no_causal_async_stacks"
};
settings_
.
dart_flags
=
{
"--no_causal_async_stacks"
,
"--lazy_async_stacks"
};
// Don't collect CPU samples from Dart VM C++ code.
settings_
.
dart_flags
.
push_back
(
"--no_profile_vm"
);
...
...
shell/platform/fuchsia/flutter/kernel/BUILD.gn
浏览文件 @
e78e405e
...
...
@@ -72,9 +72,8 @@ template("core_snapshot") {
tool = gen_snapshot_to_use
args = [
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
"--lazy_async_stacks",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",
...
...
testing/scenario_app/compile_ios_jit.sh
浏览文件 @
e78e405e
...
...
@@ -74,7 +74,8 @@ echo "Compiling JIT Snapshot..."
"
$DEVICE_TOOLS
/gen_snapshot"
--deterministic
\
--enable-asserts
\
--causal_async_stacks
\
--no-causal_async_stacks
\
--lazy_async_stacks
\
--isolate_snapshot_instructions
=
"
$OUTDIR
/isolate_snapshot_instr"
\
--snapshot_kind
=
app-jit
\
--load_vm_snapshot_data
=
"
$DEVICE_TOOLS
/../gen/flutter/lib/snapshot/vm_isolate_snapshot.bin"
\
...
...
testing/testing.gni
浏览文件 @
e78e405e
...
...
@@ -129,7 +129,8 @@ template("dart_snapshot_aot") {
outputs = [ elf_object ]
args = [
"--causal_async_stacks",
"--no-causal_async_stacks",
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=app-aot-elf",
"--elf=" + rebase_path(elf_object),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录