Compiler filter update
Tweak of the compiler filter to give better results for applications
which are not dominated by tight arithmetic loops. Deleted
the "DeferCompilation" setting - it didn't differ enough from the
"Space" setting. Added "Everything" setting to support forced
compilation (for images and testing). Previously used "Speed"
for that purpose, but in the speed setting there are some things we
don't want to compile.
Change-Id: Ia53b14f2044fc9738c1a4c1318f8204f2c25abe3
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 0110b36..69f004d 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -575,9 +575,6 @@
case Runtime::kInterpretOnly:
oat_compiler_filter_string += "interpret-only";
break;
- case Runtime::kDeferCompilation:
- oat_compiler_filter_string += "defer-compilation";
- break;
case Runtime::kSpace:
oat_compiler_filter_string += "space";
break;
@@ -587,6 +584,9 @@
case Runtime::kSpeed:
oat_compiler_filter_string += "speed";
break;
+ case Runtime::kEverything:
+ oat_compiler_filter_string += "everything";
+ break;
default:
LOG(FATAL) << "Unexpected case.";
}