hotspot/src/share/vm/jvmci/jvmciEnv.hpp
changeset 35592 5814f874d736
parent 35123 b0b89d83bcf5
child 38719 133bf85c3f36
--- a/hotspot/src/share/vm/jvmci/jvmciEnv.hpp	Thu Jan 21 16:22:01 2016 +0100
+++ b/hotspot/src/share/vm/jvmci/jvmciEnv.hpp	Fri Jan 22 11:08:07 2016 -0800
@@ -100,6 +100,10 @@
   CompileTask*     _task;
   int              _system_dictionary_modification_counter;
 
+  // Compilation result values
+  const char*      _failure_reason;
+  bool             _retryable;
+
   // Cache JVMTI state
   bool  _jvmti_can_hotswap_or_post_breakpoint;
   bool  _jvmti_can_access_local_variables;
@@ -141,6 +145,14 @@
 public:
   CompileTask* task() { return _task; }
 
+  const char* failure_reason() { return _failure_reason; }
+  bool retryable() { return _retryable; }
+
+  void set_failure(const char* reason, bool retryable) {
+    _failure_reason = reason;
+    _retryable = retryable;
+  }
+
   // Register the result of a compilation.
   static JVMCIEnv::CodeInstallResult register_method(
                        const methodHandle&       target,