Remove uses of --lazy-async-stack Dart VM flag (flutter/engine#33964)

This commit is contained in:
Alexander Markov
2022-06-10 10:12:56 -07:00
committed by GitHub
parent d3317d1d3d
commit 8292927857
12 changed files with 3 additions and 13 deletions

View File

@@ -120,7 +120,7 @@ template("flutter_snapshot") {
deps = [ ":$kernel_target" ]
outputs = []
args = [ "--lazy_async_stacks" ]
args = []
if (is_debug && flutter_runtime_mode != "profile" &&
flutter_runtime_mode != "release" &&

View File

@@ -53,7 +53,6 @@ static const char* kDartAllConfigsArgs[] = {
// clang-format off
"--enable_mirrors=false",
"--background_compilation",
"--lazy_async_stacks",
// 'mark_when_idle' appears to cause a regression, turning off for now.
// "--mark_when_idle",
// clang-format on

View File

@@ -529,7 +529,6 @@ TEST_F(ShellTest, AllowedDartVMFlag) {
std::vector<const char*> flags = {
"--enable-isolate-groups",
"--no-enable-isolate-groups",
"--lazy_async_stacks",
};
#if !FLUTTER_RELEASE
flags.push_back("--max_profile_depth 1");

View File

@@ -43,7 +43,6 @@ struct SwitchDesc {
static const std::string kAllowedDartFlags[] = {
"--enable-isolate-groups",
"--no-enable-isolate-groups",
"--lazy_async_stacks",
};
// clang-format on
@@ -55,7 +54,6 @@ static const std::string kAllowedDartFlags[] = {
"--no-enable-isolate-groups",
"--enable_mirrors",
"--enable-service-port-fallback",
"--lazy_async_stacks",
"--max_profile_depth",
"--profile_period",
"--random_seed",

View File

@@ -41,7 +41,6 @@ namespace {
const char* kDartVMArgs[] = {
// clang-format off
"--lazy_async_stacks",
"--systrace_timeline",
"--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM",

View File

@@ -46,7 +46,6 @@ template("create_aot_snapshot") {
}
args = [
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=vm-aot-assembly",
"--assembly=" + rebase_path(snapshot_assembly),

View File

@@ -62,7 +62,6 @@ template("create_kernel_core_snapshot") {
tool = gen_snapshot_to_use
args = [
"--lazy_async_stacks",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",

View File

@@ -57,7 +57,6 @@ template("aot_snapshot") {
}
args = [
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=app-aot-elf",
"--elf=" + rebase_path(snapshot_path),

View File

@@ -424,7 +424,7 @@ ComponentV1::ComponentV1(
std::cout << message << std::endl;
};
settings_.dart_flags = {"--lazy_async_stacks"};
settings_.dart_flags = {};
// Don't collect CPU samples from Dart VM C++ code.
settings_.dart_flags.push_back("--no_profile_vm");

View File

@@ -488,7 +488,7 @@ ComponentV2::ComponentV2(
std::cout << message << std::endl;
};
settings_.dart_flags = {"--lazy_async_stacks"};
settings_.dart_flags = {};
// Don't collect CPU samples from Dart VM C++ code.
settings_.dart_flags.push_back("--no_profile_vm");

View File

@@ -66,7 +66,6 @@ template("core_snapshot") {
tool = gen_snapshot_to_use
args = [
"--lazy_async_stacks",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",

View File

@@ -179,7 +179,6 @@ template("dart_snapshot_aot") {
outputs = [ elf_object ]
args = [
"--lazy_async_stacks",
"--deterministic",
"--snapshot_kind=app-aot-elf",
"--loading_unit_manifest=" + rebase_path(loading_unit_manifest),