Couple of improvements in the jit zygote pass.

- Handle the resolution stub.
- In verbose mode, log the time to JIT compile.
- Handle the case jit is disabled.
- Don't look at methods that are in the jars located in the runtime module.

Bug: 119800099
Test: m
Change-Id: Ib12586cc65b3791e066e96ce7e36985cfb612059
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index bbf3458..1957c82 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -197,7 +197,13 @@
   {
     TimingLogger::ScopedTiming t2("Compiling", &logger);
     JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache();
+    uint64_t start_ns = NanoTime();
     success = compiler_->JitCompile(self, code_cache, method, baseline, osr, jit_logger_.get());
+    uint64_t duration_ns = NanoTime() - start_ns;
+    VLOG(jit) << "Compilation of "
+              << method->PrettyMethod()
+              << " took "
+              << PrettyDuration(duration_ns);
   }
 
   // Trim maps to reduce memory usage.