summaryrefslogtreecommitdiff
path: root/runtime/jit/jit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jit/jit.cc')
-rw-r--r--runtime/jit/jit.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/jit/jit.cc b/runtime/jit/jit.cc
index 8899fa4db6..4921a99991 100644
--- a/runtime/jit/jit.cc
+++ b/runtime/jit/jit.cc
@@ -90,8 +90,6 @@ JitCompilerInterface* (*Jit::jit_load_)(void) = nullptr;
JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) {
auto* jit_options = new JitOptions;
jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation);
- jit_options->use_tiered_jit_compilation_ =
- options.GetOrDefault(RuntimeArgumentMap::UseTieredJitCompilation);
jit_options->code_cache_initial_capacity_ =
options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity);
@@ -1565,9 +1563,9 @@ void Jit::EnqueueOptimizedCompilation(ArtMethod* method, Thread* self) {
return;
}
// We arrive here after a baseline compiled code has reached its baseline
- // hotness threshold. If tiered compilation is enabled, enqueue a compilation
+ // hotness threshold. If we're not only using the baseline compiler, enqueue a compilation
// task that will compile optimize the method.
- if (options_->UseTieredJitCompilation()) {
+ if (!options_->UseBaselineCompiler()) {
thread_pool_->AddTask(
self,
new JitCompileTask(method,