diff -r d99065e4572b -r 9d809ea074d9 hotspot/src/share/vm/compiler/compileBroker.hpp --- a/hotspot/src/share/vm/compiler/compileBroker.hpp Mon Jul 14 03:25:40 2014 -0700 +++ b/hotspot/src/share/vm/compiler/compileBroker.hpp Mon Jul 14 03:26:52 2014 -0700 @@ -64,6 +64,7 @@ jobject _hot_method_holder; int _hot_count; // information about its invocation counter const char* _comment; // more info about the task + const char* _failure_reason; public: CompileTask() { @@ -138,6 +139,10 @@ void log_task_queued(); void log_task_start(CompileLog* log); void log_task_done(CompileLog* log); + + void set_failure_reason(const char* reason) { + _failure_reason = reason; + } }; // CompilerCounters