Mercurial > hg > truffle
diff src/share/vm/compiler/compileBroker.hpp @ 20469:dd89808e49ba
8049530: Provide descriptive failure reason for compilation tasks removed for the queue
Reviewed-by: roland, iveresov
author | vlivanov |
---|---|
date | Mon, 14 Jul 2014 03:26:52 -0700 |
parents | 7301840ea20e |
children | 41dcdd636080 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.hpp Mon Jul 14 03:24:35 2014 -0700 +++ b/src/share/vm/compiler/compileBroker.hpp Mon Jul 14 03:26:52 2014 -0700 @@ -59,6 +59,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() { @@ -130,6 +131,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