hotspot/src/share/vm/opto/compile.cpp
changeset 25716 fc9bd7814b10
parent 25715 d5a8dbdc5150
parent 25495 aeb87692dfd0
child 25914 ad0233fa8767
child 25946 1572c9f03fb9
--- a/hotspot/src/share/vm/opto/compile.cpp	Fri Jul 04 11:46:01 2014 +0200
+++ b/hotspot/src/share/vm/opto/compile.cpp	Mon Jul 14 10:15:21 2014 -0400
@@ -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"
@@ -534,6 +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();
       return;
     }
   }