Change logging in debugger_interface. Avoid logging things like: JIT mini-debug-info added for null, size=123B Test: m Change-Id: I83e98f741585a846765e601dd2d1fd1273b572b6
diff --git a/runtime/jit/debugger_interface.cc b/runtime/jit/debugger_interface.cc index 986003b..6d66de3 100644 --- a/runtime/jit/debugger_interface.cc +++ b/runtime/jit/debugger_interface.cc
@@ -588,10 +588,13 @@ /*allow_packing=*/ allow_packing, /*is_compressed=*/ false); - VLOG(jit) - << "JIT mini-debug-info added" - << " for " << code_ptr - << " size=" << PrettySize(symfile.size()); + if (code_ptr == nullptr) { + VLOG(jit) << "JIT mini-debug-info added for new type, size=" << PrettySize(symfile.size()); + } else { + VLOG(jit) + << "JIT mini-debug-info added for native code at " << code_ptr + << ", size=" << PrettySize(symfile.size()); + } // Automatically repack entries on regular basis to save space. // Pack (but don't compress) recent entries - this is cheap and reduces memory use by ~4x.