comparison src/share/vm/c1/c1_LIRAssembler.cpp @ 3896:b346f13112d8

7085279: C1 overflows code buffer with VerifyOops and CompressedOops Summary: Increase the limit of code emitted per LIR instruction, increase the max size of the nmethod generated by C1 Reviewed-by: never, kvn, johnc
author iveresov
date Tue, 30 Aug 2011 19:01:58 -0700
parents 6c97c830fb6f
children 04b9a2566eec 701a83c86f28
comparison
equal deleted inserted replaced
3895:19241ae0d839 3896:b346f13112d8
119 } 119 }
120 120
121 121
122 void LIR_Assembler::check_codespace() { 122 void LIR_Assembler::check_codespace() {
123 CodeSection* cs = _masm->code_section(); 123 CodeSection* cs = _masm->code_section();
124 if (cs->remaining() < (int)(1*K)) { 124 if (cs->remaining() < (int)(NOT_LP64(1*K)LP64_ONLY(2*K))) {
125 BAILOUT("CodeBuffer overflow"); 125 BAILOUT("CodeBuffer overflow");
126 } 126 }
127 } 127 }
128 128
129 129