--- old/src/share/vm/ci/ciEnv.cpp 2013-10-09 15:17:14.908404557 +0200 +++ new/src/share/vm/ci/ciEnv.cpp 2013-10-09 15:17:14.308404579 +0200 @@ -1013,12 +1013,12 @@ } if (nm == NULL) { - // The CodeCache is full. Print out warning and disable compilation. + // The CodeCache is full. Print out warning and delay compilation for corresponding CodeBlobType. record_failure("code cache is full"); { MutexUnlocker ml(Compile_lock); MutexUnlocker locker(MethodCompileQueue_lock); - CompileBroker::handle_full_code_cache(); + CompileBroker::handle_full_code_cache(CodeCache::get_code_blob_type(comp_level)); } } else { nm->set_has_unsafe_access(has_unsafe_access);