< prev index next >

src/hotspot/share/code/compiledIC.cpp

Print this page

        

@@ -689,11 +689,13 @@
   print_compiled_ic();
   tty->cr();
 }
 
 void CompiledIC::print_compiled_ic() {
-  tty->print("Inline cache at " INTPTR_FORMAT ", calling %s " INTPTR_FORMAT " cached_value " INTPTR_FORMAT,
+  const char *opt = is_optimized() ? "opt " : "";
+  tty->print("%sInline cache at " INTPTR_FORMAT ", calling %s " INTPTR_FORMAT " cached_value " INTPTR_FORMAT,
+             opt,
              p2i(instruction_address()), is_call_to_interpreted() ? "interpreted " : "", p2i(ic_destination()), p2i(is_optimized() ? NULL : cached_value()));
 }
 
 void CompiledDirectStaticCall::print() {
   tty->print("static call at " INTPTR_FORMAT " -> ", p2i(instruction_address()));
< prev index next >