equal
deleted
inserted
replaced
27 #include "asm/macroAssembler.inline.hpp" |
27 #include "asm/macroAssembler.inline.hpp" |
28 #include "ci/ciReplay.hpp" |
28 #include "ci/ciReplay.hpp" |
29 #include "classfile/systemDictionary.hpp" |
29 #include "classfile/systemDictionary.hpp" |
30 #include "code/exceptionHandlerTable.hpp" |
30 #include "code/exceptionHandlerTable.hpp" |
31 #include "code/nmethod.hpp" |
31 #include "code/nmethod.hpp" |
|
32 #include "compiler/compileBroker.hpp" |
32 #include "compiler/compileLog.hpp" |
33 #include "compiler/compileLog.hpp" |
33 #include "compiler/disassembler.hpp" |
34 #include "compiler/disassembler.hpp" |
34 #include "compiler/oopMap.hpp" |
35 #include "compiler/oopMap.hpp" |
35 #include "opto/addnode.hpp" |
36 #include "opto/addnode.hpp" |
36 #include "opto/block.hpp" |
37 #include "opto/block.hpp" |
553 set_scratch_buffer_blob(blob); |
554 set_scratch_buffer_blob(blob); |
554 // Have we run out of code space? |
555 // Have we run out of code space? |
555 if (scratch_buffer_blob() == NULL) { |
556 if (scratch_buffer_blob() == NULL) { |
556 // Let CompilerBroker disable further compilations. |
557 // Let CompilerBroker disable further compilations. |
557 record_failure("Not enough space for scratch buffer in CodeCache"); |
558 record_failure("Not enough space for scratch buffer in CodeCache"); |
|
559 CompileBroker::handle_full_code_cache(); |
558 return; |
560 return; |
559 } |
561 } |
560 } |
562 } |
561 |
563 |
562 // Initialize the relocation buffers |
564 // Initialize the relocation buffers |