--- old/src/share/vm/opto/compile.cpp 2014-08-29 15:59:14.808855112 +0200 +++ new/src/share/vm/opto/compile.cpp 2014-08-29 15:59:14.464855128 +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; } }