8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn
authorvlivanov
Mon, 11 Apr 2016 21:42:31 +0300
changeset 38029 c645d414429f
parent 38028 be8cc044b136
child 38030 93f24e7b3c43
8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn Reviewed-by: kvn
hotspot/src/share/vm/opto/output.cpp
--- 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) {