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
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index 9af61e0..0f12457 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -164,7 +164,9 @@
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());