Lines Matching defs:instanceKlass

43 // An instanceKlass is the VM level representation of a Java class.
46 // instanceKlass layout:
139 class instanceKlass: public Klass {
275 // instanceKlass. See PreviousVersionWalker below.
472 static ByteSize reference_type_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _reference_type)); }
662 DEFINE_ALLOCATE_PERMANENT(instanceKlass);
708 static ByteSize init_state_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _init_state)); }
710 static ByteSize init_thread_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _init_thread)); }
770 static instanceKlass* cast(klassOop k) {
773 assert(kp->null_vtbl() || kp->oop_is_instance_slow(), "cast to instanceKlass");
774 return (instanceKlass*) kp;
778 static int header_size() { return align_object_offset(oopDesc::header_size() + sizeof(instanceKlass)/HeapWordSize); }
791 static int vtable_length_offset() { return oopDesc::header_size() + offset_of(instanceKlass, _vtable_len) / HeapWordSize; }
991 inline methodOop instanceKlass::method_at_vtable(int index) {
1002 inline typeArrayOop instanceKlass::get_method_annotations_from(int idnum, objArrayOop annos) {
1011 inline u2 instanceKlass::next_method_idnum() {
1042 return instanceKlass::cast(holder())->find_local_field_from_offset(offset(), true, fd);
1066 // version(s) of an instanceKlass. This class uses weak references to
1071 // to the instanceKlass as needed. See PreviousVersionWalker below.
1082 // If the previous version of the instanceKlass doesn't have any
1105 // If the previous version of the instanceKlass doesn't have any
1148 PreviousVersionWalker(instanceKlass *ik);
1189 // instanceKlass::_inner_classes array.
1206 assert((_length % instanceKlass::inner_class_next_offset == 0 ||
1207 _length % instanceKlass::inner_class_next_offset == instanceKlass::enclosing_method_attribute_size),
1210 if (_length % instanceKlass::inner_class_next_offset == instanceKlass::enclosing_method_attribute_size) {
1211 _length -= instanceKlass::enclosing_method_attribute_size;
1224 _idx += instanceKlass::inner_class_next_offset;
1233 _idx + instanceKlass::inner_class_inner_class_info_offset);
1238 _idx + instanceKlass::inner_class_inner_class_info_offset, index);
1243 _idx + instanceKlass::inner_class_outer_class_info_offset);
1248 _idx + instanceKlass::inner_class_outer_class_info_offset, index);
1253 _idx + instanceKlass::inner_class_inner_name_offset);
1258 _idx + instanceKlass::inner_class_inner_name_offset, index);
1263 _idx + instanceKlass::inner_class_access_flags_offset);