review(XS): 7085279: C1 overflows code buffer with VerifyOops and CompressedOops
vladimir.kozlov at oracle.com
Tue Aug 30 17:49:52 PDT 2011
May be you need to increase size only if VerifyOops is specified. What do you think?
Igor Veresov wrote:
> This happens during emission of LIR_OpAllocObj. C1 assumes that a LIR instruction will fit into 1K but in this case it's not true because the allocation code is pretty large by itself and oop verfication adds an order of magnitude more of additional code.
> I bumped up the size of the code per LIR operation to 2K. And also increased the size of the NMethodSizeLimit to accommodate all the verification code emitted.
> Webrev: http://cr.openjdk.java.net/~iveresov/7085279/webrev.00/
More information about the hotspot-compiler-dev