diff options
author | 2024-05-28 15:10:32 +0100 | |
---|---|---|
committer | 2024-06-03 13:17:38 +0000 | |
commit | 85ee2c92239fbafc22c2c47b22faa817a0a4b034 (patch) | |
tree | bc40d4315d65bbfae6b87ff264098e55130af667 /compiler/jit/jit_compiler.cc | |
parent | 952b187935a922acf4ad5d70e76ab34dc94b193c (diff) |
Rewrite how we identify hot methods.
Use the kAccPreviouslyWarm as soon as a method gets scheduled for
JITting. The profile saver now only uses that flag.
For benefiting simplicity, deprecate the -Xps-hot-startup-method-samples
flag (unused in the code base).
Test: second run after speed-profile contains less JITting
Bug: 333614471
Bug: 333701031
Change-Id: I2b846026f7d74d20ea761421b857db3834b3011c
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 051368cc8a..4b2f8d2e14 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -178,7 +178,8 @@ bool JitCompiler::CompileMethod( Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind) { SCOPED_TRACE << "JIT compiling " << method->PrettyMethod() - << " (kind=" << compilation_kind << ")"; + << " (kind=" << compilation_kind << ")" + << " from " << method->GetDexFile()->GetLocation(); DCHECK(!method->IsProxyMethod()); DCHECK(method->GetDeclaringClass()->IsResolved()); |