src/share/vm/runtime/sharedRuntime.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File JDK-8015774 Cdiff src/share/vm/runtime/sharedRuntime.cpp

src/share/vm/runtime/sharedRuntime.cpp

Print this page

        

*** 2459,2469 **** if (B == NULL) { // CodeCache is full, disable compilation // Ought to log this but compile log is only per compile thread // and we're some non descript Java thread. MutexUnlocker mu(AdapterHandlerLibrary_lock); ! CompileBroker::handle_full_code_cache(); return NULL; // Out of CodeCache space } entry->relocate(B->content_begin()); #ifndef PRODUCT // debugging suppport --- 2459,2469 ---- if (B == NULL) { // CodeCache is full, disable compilation // Ought to log this but compile log is only per compile thread // and we're some non descript Java thread. MutexUnlocker mu(AdapterHandlerLibrary_lock); ! CompileBroker::handle_full_code_cache(CodeBlobType::NonMethod); return NULL; // Out of CodeCache space } entry->relocate(B->content_begin()); #ifndef PRODUCT // debugging suppport
*** 2635,2646 **** CompileTask::print_compilation(tty, nm, method->is_static() ? "(static)" : ""); } method->set_code(method, nm); nm->post_compiled_method_load_event(); } else { ! // CodeCache is full, disable compilation ! CompileBroker::handle_full_code_cache(); } return nm; } JRT_ENTRY_NO_ASYNC(void, SharedRuntime::block_for_jni_critical(JavaThread* thread)) --- 2635,2646 ---- CompileTask::print_compilation(tty, nm, method->is_static() ? "(static)" : ""); } method->set_code(method, nm); nm->post_compiled_method_load_event(); } else { ! // CodeCache is full, delay compilation for T1 and T4 methods ! CompileBroker::handle_full_code_cache(CodeBlobType::MethodNoProfile); } return nm; } JRT_ENTRY_NO_ASYNC(void, SharedRuntime::block_for_jni_critical(JavaThread* thread))
src/share/vm/runtime/sharedRuntime.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File