src/share/vm/c1/c1_Compiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8015774 Cdiff src/share/vm/c1/c1_Compiler.cpp

src/share/vm/c1/c1_Compiler.cpp

Print this page

        

*** 74,83 **** --- 74,88 ---- set_state(initialized); } } } + int Compiler::code_buffer_size() { + assert(SegmentedCodeCache, "Should be only used with a segmented code cache"); + return Compilation::desired_max_code_buffer_size() + Compilation::desired_max_constant_size(); + } + BufferBlob* Compiler::init_buffer_blob() { // Allocate buffer blob once at startup since allocation for each // compilation seems to be too expensive (at least on Intel win32). assert (CompilerThread::current()->get_buffer_blob() == NULL, "Should initialize only once");
src/share/vm/c1/c1_Compiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File