< prev index next >

src/hotspot/share/compiler/compileBroker.cpp

Print this page

        

*** 2043,2052 **** --- 2043,2053 ---- // Allocate a new set of JNI handles. push_jni_handle_block(); Method* target_handle = task->method(); int compilable = ciEnv::MethodCompilable; const char* failure_reason = NULL; + bool failure_reason_on_C_heap = false; const char* retry_message = NULL; int system_dictionary_modification_counter; { MutexLocker locker(Compile_lock, thread);
*** 2069,2078 **** --- 2070,2080 ---- JVMCIEnv env(task, system_dictionary_modification_counter); methodHandle method(thread, target_handle); jvmci->compile_method(method, osr_bci, &env); failure_reason = env.failure_reason(); + failure_reason_on_C_heap = env.failure_reason_on_C_heap(); if (!env.retryable()) { retry_message = "not retryable"; compilable = ciEnv::MethodCompilable_not_at_tier; } }
*** 2144,2154 **** // Remove the JNI handle block after the ciEnv destructor has run in // the previous block. pop_jni_handle_block(); if (failure_reason != NULL) { ! task->set_failure_reason(failure_reason); if (_compilation_log != NULL) { _compilation_log->log_failure(thread, task, failure_reason, retry_message); } if (PrintCompilation) { FormatBufferResource msg = retry_message != NULL ? --- 2146,2156 ---- // Remove the JNI handle block after the ciEnv destructor has run in // the previous block. pop_jni_handle_block(); if (failure_reason != NULL) { ! task->set_failure_reason(failure_reason, failure_reason_on_C_heap); if (_compilation_log != NULL) { _compilation_log->log_failure(thread, task, failure_reason, retry_message); } if (PrintCompilation) { FormatBufferResource msg = retry_message != NULL ?
< prev index next >