hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 31775 98b4ded1e369
parent 31592 43f48e165466
child 31981 9caa094a485f
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Jul 13 13:22:21 2015 -0700
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Tue Mar 31 21:46:44 2015 +0200
@@ -501,8 +501,8 @@
   methodHandle method(thread, this->method());
   ResourceMark rm(thread);
 
-  // <task id='9' method='M' osr_bci='X' level='1' blocking='1' stamp='1.234'>
-  log->print(" compile_id='%d'", _compile_id);
+  // <task compiler='Cx' id='9' method='M' osr_bci='X' level='1' blocking='1' stamp='1.234'>
+  log->print(" compiler='%s' compile_id='%d'", _comp_level <= CompLevel_full_profile ? "C1" : "C2", _compile_id);
   if (_osr_bci != CompileBroker::standard_entry_bci) {
     log->print(" compile_kind='osr'");  // same as nmethod::compile_kind
   } // else compile_kind='c2c'