diff options
author | 2023-06-27 09:38:55 +0100 | |
---|---|---|
committer | 2023-06-27 12:22:35 +0000 | |
commit | 2ea3c8b7eabb027f1743caba276073ce08cd831d (patch) | |
tree | 119c4372e48fa3184fc0bf1e97d87390ca94d129 | |
parent | 6ffe680028c9d69fdf3e70ac45d6a8cf8a1e937b (diff) |
Change logging in debugger_interface.
Avoid logging things like:
JIT mini-debug-info added for null, size=123B
Test: m
Change-Id: I83e98f741585a846765e601dd2d1fd1273b572b6
-rw-r--r-- | runtime/jit/debugger_interface.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/jit/debugger_interface.cc b/runtime/jit/debugger_interface.cc index 986003b544..6d66de33e3 100644 --- a/runtime/jit/debugger_interface.cc +++ b/runtime/jit/debugger_interface.cc @@ -588,10 +588,13 @@ void AddNativeDebugInfoForJit(const void* code_ptr, /*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. |