hotspot/src/share/vm/opto/callnode.hpp
changeset 360 21d113ecbf6a
parent 247 2aeab9ac7fea
child 594 9f4474e5dbaf
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   723     return (allo == NULL) ? NULL : allo->in(KlassNode);
   723     return (allo == NULL) ? NULL : allo->in(KlassNode);
   724   }
   724   }
   725 
   725 
   726   // Conservatively small estimate of offset of first non-header byte.
   726   // Conservatively small estimate of offset of first non-header byte.
   727   int minimum_header_size() {
   727   int minimum_header_size() {
   728     return is_AllocateArray() ? sizeof(arrayOopDesc) : sizeof(oopDesc);
   728     return is_AllocateArray() ? arrayOopDesc::base_offset_in_bytes(T_BYTE) :
       
   729                                 instanceOopDesc::base_offset_in_bytes();
   729   }
   730   }
   730 
   731 
   731   // Return the corresponding initialization barrier (or null if none).
   732   // Return the corresponding initialization barrier (or null if none).
   732   // Walks out edges to find it...
   733   // Walks out edges to find it...
   733   // (Note: Both InitializeNode::allocation and AllocateNode::initialization
   734   // (Note: Both InitializeNode::allocation and AllocateNode::initialization