--- old/src/share/vm/opto/compile.cpp 2014-09-03 12:15:32.367797487 +0200 +++ new/src/share/vm/opto/compile.cpp 2014-09-03 12:15:32.031797477 +0200 @@ -535,7 +535,7 @@ if (scratch_buffer_blob() == NULL) { // Let CompilerBroker disable further compilations. record_failure("Not enough space for scratch buffer in CodeCache"); - CompileBroker::handle_full_code_cache(); + CompileBroker::handle_full_code_cache(CodeBlobType::NonMethod); return; } }