src/share/vm/compiler/compileTask.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/compiler/compileTask.cpp	Fri Apr 15 14:56:56 2016
--- new/src/share/vm/compiler/compileTask.cpp	Fri Apr 15 14:56:56 2016

*** 80,90 **** --- 80,90 ---- const methodHandle& method, int osr_bci, int comp_level, const methodHandle& hot_method, int hot_count, ! const char* comment, ! CompileTask::CompileReason compile_reason, bool is_blocking) { assert(!_lock->is_locked(), "bad locking"); _compile_id = compile_id; _method = method();
*** 102,112 **** --- 102,112 ---- _hot_method = NULL; _hot_method_holder = NULL; _hot_count = hot_count; _time_queued = 0; // tidy ! _comment = comment; ! _compile_reason = compile_reason; _failure_reason = NULL; if (LogCompilation) { _time_queued = os::elapsed_counter(); if (hot_method.not_null()) {
*** 303,315 **** --- 303,315 ---- ttyLocker ttyl; ResourceMark rm(thread); xtty->begin_elem("task_queued"); log_task(xtty); if (_comment != NULL) { ! xtty->print(" comment='%s'", _comment); } + assert(_compile_reason > CompileTask::Reason_None && _compile_reason < CompileTask::Reason_Count, "Valid values"); ! xtty->print(" comment='%s'", reason_name(_compile_reason)); + if (_hot_method != NULL) { methodHandle hot(thread, _hot_method); methodHandle method(thread, _method); if (hot() != method()) { xtty->method(hot);
*** 434,438 **** --- 434,440 ---- if (msg != NULL) { st->print(" %s", msg); } st->cr(); } + +

src/share/vm/compiler/compileTask.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File