hotspot/src/share/vm/opto/output.cpp
changeset 25495 aeb87692dfd0
parent 24923 9631f7d691dc
child 25716 fc9bd7814b10
child 25637 369f62cdfaba
--- a/hotspot/src/share/vm/opto/output.cpp	Wed Jul 02 22:54:18 2014 +0200
+++ b/hotspot/src/share/vm/opto/output.cpp	Thu Jul 03 08:46:44 2014 +0200
@@ -1163,6 +1163,7 @@
   // Have we run out of code space?
   if ((cb->blob() == NULL) || (!CompileBroker::should_compile_new_jobs())) {
     C->record_failure("CodeCache is full");
+    CompileBroker::handle_full_code_cache();
     return NULL;
   }
   // Configure the code buffer.
@@ -1487,6 +1488,7 @@
       cb->insts()->maybe_expand_to_ensure_remaining(MAX_inst_size);
       if ((cb->blob() == NULL) || (!CompileBroker::should_compile_new_jobs())) {
         C->record_failure("CodeCache is full");
+        CompileBroker::handle_full_code_cache();
         return;
       }
 
@@ -1643,6 +1645,7 @@
   // One last check for failed CodeBuffer::expand:
   if ((cb->blob() == NULL) || (!CompileBroker::should_compile_new_jobs())) {
     C->record_failure("CodeCache is full");
+    CompileBroker::handle_full_code_cache();
     return;
   }