hotspot/src/share/vm/opto/compile.cpp
changeset 25495 aeb87692dfd0
parent 25338 8afcbcb8271a
child 25716 fc9bd7814b10
child 25913 81dbc151e91c
--- a/hotspot/src/share/vm/opto/compile.cpp	Wed Jul 02 22:54:18 2014 +0200
+++ b/hotspot/src/share/vm/opto/compile.cpp	Thu Jul 03 08:46:44 2014 +0200
@@ -29,6 +29,7 @@
 #include "classfile/systemDictionary.hpp"
 #include "code/exceptionHandlerTable.hpp"
 #include "code/nmethod.hpp"
+#include "compiler/compileBroker.hpp"
 #include "compiler/compileLog.hpp"
 #include "compiler/disassembler.hpp"
 #include "compiler/oopMap.hpp"
@@ -555,6 +556,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();
       return;
     }
   }