8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn
Reviewed-by: kvn
--- a/hotspot/src/share/vm/opto/output.cpp Thu Apr 07 22:36:16 2016 +0000
+++ b/hotspot/src/share/vm/opto/output.cpp Mon Apr 11 21:42:31 2016 +0300
@@ -1483,8 +1483,6 @@
// 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) {