hotspot/src/share/vm/opto/output.cpp
changeset 6181 289d14572918
parent 5547 f4b087cbb361
child 6418 6671edbd230e
--- a/hotspot/src/share/vm/opto/output.cpp	Tue Aug 03 15:55:03 2010 -0700
+++ b/hotspot/src/share/vm/opto/output.cpp	Wed Aug 04 17:42:20 2010 -0700
@@ -382,6 +382,10 @@
           if (min_offset_from_last_call == 0) {
             blk_size += nop_size;
           }
+        } else if (mach->ideal_Opcode() == Op_Jump) {
+          const_size += b->_num_succs; // Address table size
+          // The size is valid even for 64 bit since it is
+          // multiplied by 2*jintSize on this method exit.
         }
       }
       min_offset_from_last_call += inst_size;