提交 1d3045c9 编写于 作者: I iveresov

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
上级 17ce1646
...@@ -121,7 +121,7 @@ void LIR_Assembler::append_patching_stub(PatchingStub* stub) { ...@@ -121,7 +121,7 @@ void LIR_Assembler::append_patching_stub(PatchingStub* stub) {
void LIR_Assembler::check_codespace() { void LIR_Assembler::check_codespace() {
CodeSection* cs = _masm->code_section(); CodeSection* cs = _masm->code_section();
if (cs->remaining() < (int)(1*K)) { if (cs->remaining() < (int)(NOT_LP64(1*K)LP64_ONLY(2*K))) {
BAILOUT("CodeBuffer overflow"); BAILOUT("CodeBuffer overflow");
} }
} }
......
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
product(intx, CompilationRepeat, 0, \ product(intx, CompilationRepeat, 0, \
"Number of times to recompile method before returning result") \ "Number of times to recompile method before returning result") \
\ \
develop(intx, NMethodSizeLimit, (32*K)*wordSize, \ develop(intx, NMethodSizeLimit, (64*K)*wordSize, \
"Maximum size of a compiled method.") \ "Maximum size of a compiled method.") \
\ \
develop(bool, TraceFPUStack, false, \ develop(bool, TraceFPUStack, false, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册