hotspot/src/share/vm/compiler/compileBroker.hpp
changeset 25642 9d809ea074d9
parent 24443 7aaf1b306b55
child 26587 e8b28fa936af
--- 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