8049529: LogCompilation: annotate make_not_compilable with compilation level
Reviewed-by: roland, iveresov
--- a/hotspot/src/share/vm/oops/method.cpp Mon Jul 14 03:26:52 2014 -0700
+++ b/hotspot/src/share/vm/oops/method.cpp Mon Jul 14 03:27:21 2014 -0700
@@ -729,8 +729,8 @@
}
if ((TraceDeoptimization || LogCompilation) && (xtty != NULL)) {
ttyLocker ttyl;
- xtty->begin_elem("make_not_%scompilable thread='" UINTX_FORMAT "'",
- is_osr ? "osr_" : "", os::current_thread_id());
+ xtty->begin_elem("make_not_compilable thread='" UINTX_FORMAT "' osr='%d' level='%d'",
+ os::current_thread_id(), is_osr, comp_level);
if (reason != NULL) {
xtty->print(" reason=\'%s\'", reason);
}