< prev index next >
src/share/vm/jvmci/jvmciEnv.hpp
Print this page
rev 9941 : 8147432: JVMCI should report bailouts in PrintCompilation output
@@ -98,10 +98,14 @@
private:
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;
bool _jvmti_can_post_on_exceptions;
@@ -139,10 +143,18 @@
JVMCIEnv* env, char** failure_detail);
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,
nmethod*& nm,
int entry_bci,
< prev index next >