arrayKlass.hpp revision 3042
2362N/A * or visit www.oracle.com if you need additional information or have any
1319N/A#include "memory/universe.hpp"
1319N/A#include "oops/klassOop.hpp"
1319N/A#include "oops/klassVtable.hpp"
1319N/A bool oop_is_array() const { return true; }
1319N/A void set_higher_dimension(klassOop k) { oop_store_without_check((oop*) &_higher_dimension, (oop) k); }
1319N/A void set_lower_dimension(klassOop k) { oop_store_without_check((oop*) &_lower_dimension, (oop) k); }
1319N/A // Compiler/Interpreter offset
1319N/A static ByteSize component_mirror_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(arrayKlass, _component_mirror)); }
3471N/A static int header_size() { return oopDesc::header_size() + sizeof(arrayKlass)/HeapWordSize; }
1319N/A void set_vtable_length(int len) { assert(len == base_vtable_length(), "bad length"); _vtable_len = len; }
3471N/A static void complete_create_array_klass(arrayKlassHandle k, KlassHandle super_klass, TRAPS);