hotspot/src/share/vm/opto/output.cpp
changeset 6181 289d14572918
parent 5547 f4b087cbb361
child 6418 6671edbd230e
equal deleted inserted replaced
6180:53c1bf468c81 6181:289d14572918
   380           // If call/safepoint are adjacent, account for possible
   380           // If call/safepoint are adjacent, account for possible
   381           // nop to disambiguate the two safepoints.
   381           // nop to disambiguate the two safepoints.
   382           if (min_offset_from_last_call == 0) {
   382           if (min_offset_from_last_call == 0) {
   383             blk_size += nop_size;
   383             blk_size += nop_size;
   384           }
   384           }
       
   385         } else if (mach->ideal_Opcode() == Op_Jump) {
       
   386           const_size += b->_num_succs; // Address table size
       
   387           // The size is valid even for 64 bit since it is
       
   388           // multiplied by 2*jintSize on this method exit.
   385         }
   389         }
   386       }
   390       }
   387       min_offset_from_last_call += inst_size;
   391       min_offset_from_last_call += inst_size;
   388       // Remember end of call offset
   392       // Remember end of call offset
   389       if (nj->is_MachCall() && nj->as_MachCall()->is_safepoint_node()) {
   393       if (nj->is_MachCall() && nj->as_MachCall()->is_safepoint_node()) {