src/share/vm/oops/typeArrayKlass.hpp

changeset 916
7d7a7c599c17
parent 435
a61af66fc99e
child 1014
0fbdb4381b99
equal deleted inserted replaced
915:d249b360e026 916:7d7a7c599c17
37 // testers 37 // testers
38 bool oop_is_typeArray_slow() const { return true; } 38 bool oop_is_typeArray_slow() const { return true; }
39 39
40 // klass allocation 40 // klass allocation
41 DEFINE_ALLOCATE_PERMANENT(typeArrayKlass); 41 DEFINE_ALLOCATE_PERMANENT(typeArrayKlass);
42 static klassOop create_klass(BasicType type, int scale, TRAPS); 42 static klassOop create_klass(BasicType type, int scale, const char* name_str,
43 TRAPS);
44 static inline klassOop create_klass(BasicType type, int scale, TRAPS) {
45 return create_klass(type, scale, external_name(type), CHECK_NULL);
46 }
43 47
44 int oop_size(oop obj) const; 48 int oop_size(oop obj) const;
45 int klass_oop_size() const { return object_size(); } 49 int klass_oop_size() const { return object_size(); }
46 50
47 bool compute_is_subtype_of(klassOop k); 51 bool compute_is_subtype_of(klassOop k);

mercurial