equal
deleted
inserted
replaced
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 |