--- old/src/share/vm/opto/compile.cpp 2014-09-04 12:25:43.326499569 +0200 +++ new/src/share/vm/opto/compile.cpp 2014-09-04 12:25:42.946499587 +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; } }