changeset 10505 | df3cc194efc5 |
parent 9124 | f60dee480d49 |
child 11886 | feebf5c9f40c |
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp Tue Aug 30 00:54:09 2011 -0700 +++ b/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp Tue Aug 30 19:01:58 2011 -0700 @@ -121,7 +121,7 @@ void LIR_Assembler::check_codespace() { 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"); } }