diff options
author | 2016-03-02 09:39:06 +0000 | |
---|---|---|
committer | 2016-03-02 09:39:06 +0000 | |
commit | 8d468e351e42e8424f93746d9ee183f8cff01ec2 (patch) | |
tree | ffc658cbd3ffc6875b90103e1d41fc66e75aad69 /compiler/jit/jit_compiler.cc | |
parent | e33785cd73b8af1e0ce3a46caf731711cac454ce (diff) | |
parent | 25e0456b6ea13eba290b63ea88b6b7120ed89413 (diff) |
Merge "Give the JIT its own arena pool to avoid lock contentions."
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 23601c39e4..79a6d38fc6 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -230,10 +230,10 @@ bool JitCompiler::CompileMethod(Thread* self, ArtMethod* method, bool osr) { } // Trim maps to reduce memory usage. - // TODO: measure how much this increases compile time. + // TODO: move this to an idle phase. { TimingLogger::ScopedTiming t2("TrimMaps", &logger); - runtime->GetArenaPool()->TrimMaps(); + runtime->GetJitArenaPool()->TrimMaps(); } total_time_ += NanoTime() - start_time; |