// Returns the address of the first element.
 void* base(BasicType type) const              {
     return (void*) (((intptr_t) this) + base_offset_in_bytes(type));
 }
Esempio n. 2
0
 static bool contains_field_offset(int offset, int nonstatic_field_size) {
   int base_in_bytes = base_offset_in_bytes();
   return (offset >= base_in_bytes &&
           (offset-base_in_bytes) < nonstatic_field_size * heapOopSize);
 }