comparison src/share/vm/opto/callnode.hpp @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents 2a9af0b9cb1c
children 7793bd37a336
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
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