src/share/vm/runtime/stubRoutines.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8133951 Cdiff src/share/vm/runtime/stubRoutines.cpp

src/share/vm/runtime/stubRoutines.cpp

Print this page

        

*** 179,189 **** } CodeBuffer buffer(_code1); StubGenerator_generate(&buffer, false); // When new stubs added we need to make sure there is some space left // to catch situation when we should increase size again. ! assert(buffer.insts_remaining() > 200, "increase code_size1"); } } #ifdef ASSERT --- 179,189 ---- } CodeBuffer buffer(_code1); StubGenerator_generate(&buffer, false); // When new stubs added we need to make sure there is some space left // to catch situation when we should increase size again. ! buffer.check_code_size(); } } #ifdef ASSERT
*** 272,282 **** } CodeBuffer buffer(_code2); StubGenerator_generate(&buffer, true); // When new stubs added we need to make sure there is some space left // to catch situation when we should increase size again. ! assert(buffer.insts_remaining() > 200, "increase code_size2"); } #ifdef ASSERT #define TEST_ARRAYCOPY(type) \ --- 272,282 ---- } CodeBuffer buffer(_code2); StubGenerator_generate(&buffer, true); // When new stubs added we need to make sure there is some space left // to catch situation when we should increase size again. ! buffer.check_code_size(); } #ifdef ASSERT #define TEST_ARRAYCOPY(type) \
src/share/vm/runtime/stubRoutines.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File