8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn

Reviewed-by: kvn
This commit is contained in:
Vladimir Ivanov 2016-04-11 21:42:31 +03:00
parent 19d90c789d
commit 0c233de7ff

View File

@ -1483,8 +1483,6 @@ void Compile::fill_buffer(CodeBuffer* cb, uint* blk_starts) {
// Compute the size of the first block
_first_block_size = blk_labels[1].loc_pos() - blk_labels[0].loc_pos();
assert(cb->insts_size() < 500000, "method is unreasonably large");
#ifdef ASSERT
for (uint i = 0; i < nblocks; i++) { // For all blocks
if (jmp_target[i] != 0) {