diff options
author | 2020-03-09 14:16:42 +0000 | |
---|---|---|
committer | 2020-03-09 17:18:19 +0000 | |
commit | 76e52e887a3c9177d9e2a79542f49b649c3ceb07 (patch) | |
tree | b845e701ca610c9a928b70b95f450030bf2d7a46 /compiler/jit/jit_compiler.cc | |
parent | 47d0c475a11fed0485296f942c0abed8b02efd45 (diff) |
Add more information in the trace when JIT compiling.
To differentiate between the kinds of JIT compilation.
Test: build, take a trace
Bug: 150861260
Change-Id: I7b199958e00d3b79e2f55cd0e5e9bdf269ba740f
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 9af61e0dea..0f12457f6b 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -164,7 +164,9 @@ JitCompiler::~JitCompiler() { bool JitCompiler::CompileMethod( Thread* self, JitMemoryRegion* region, ArtMethod* method, bool baseline, bool osr) { - SCOPED_TRACE << "JIT compiling " << method->PrettyMethod(); + SCOPED_TRACE << "JIT compiling " + << method->PrettyMethod() + << " (baseline=" << baseline << ", osr=" << osr << ")"; DCHECK(!method->IsProxyMethod()); DCHECK(method->GetDeclaringClass()->IsResolved()); |