comparison src/share/vm/oops/arrayOop.hpp @ 12226:7944aba7ba41

8015107: NPG: Use consistent naming for metaspace concepts Reviewed-by: coleenp, mgerdin, hseigel
author ehelin
date Mon, 12 Aug 2013 17:37:02 +0200
parents da91efe96a93
children de6a9e811145
comparison
equal deleted inserted replaced
12186:313b724f8911 12226:7944aba7ba41
63 public: 63 public:
64 // The _length field is not declared in C++. It is allocated after the 64 // The _length field is not declared in C++. It is allocated after the
65 // declared nonstatic fields in arrayOopDesc if not compressed, otherwise 65 // declared nonstatic fields in arrayOopDesc if not compressed, otherwise
66 // it occupies the second half of the _klass field in oopDesc. 66 // it occupies the second half of the _klass field in oopDesc.
67 static int length_offset_in_bytes() { 67 static int length_offset_in_bytes() {
68 return UseCompressedKlassPointers ? klass_gap_offset_in_bytes() : 68 return UseCompressedClassPointers ? klass_gap_offset_in_bytes() :
69 sizeof(arrayOopDesc); 69 sizeof(arrayOopDesc);
70 } 70 }
71 71
72 // Returns the offset of the first element. 72 // Returns the offset of the first element.
73 static int base_offset_in_bytes(BasicType type) { 73 static int base_offset_in_bytes(BasicType type) {