Lines Matching refs:klass
309 Klass::cast(s->klass())->copy_array(s, src_pos, d, dst_pos, length, thread);
554 const KlassHandle klass (THREAD, obj->klass());
560 guarantee(klass->is_cloneable(), "all arrays are cloneable");
563 bool cloneable = klass->is_subtype_of(SystemDictionary::Cloneable_klass());
564 guarantee(cloneable == klass->is_cloneable(), "incorrect cloneable flag");
570 if (!klass->is_cloneable()) {
572 THROW_MSG_0(vmSymbols::java_lang_CloneNotSupportedException(), klass->external_name());
580 new_obj = CollectedHeap::array_allocate(klass, size, length, CHECK_NULL);
582 new_obj = CollectedHeap::obj_allocate(klass, size, CHECK_NULL);
606 if (klass->has_finalizer()) {
980 KlassHandle klass(thread, java_lang_Class::as_klassOop(mirror));
983 if (klass->oop_is_instance()) {
984 size = instanceKlass::cast(klass())->local_interfaces()->length();
986 assert(klass->oop_is_objArray() || klass->oop_is_typeArray(), "Illegal mirror klass");
994 if (klass->oop_is_instance()) {
995 // Regular instance klass, fill in all local interfaces
997 klassOop k = klassOop(instanceKlass::cast(klass())->local_interfaces()->obj_at(index));
1055 klassOop element = objArrayKlass::cast(signers->klass())->element_klass();
1116 static bool is_authorized(Handle context, instanceKlassHandle klass, TRAPS) {
1134 oop prot = klass->protection_domain();
1185 instanceKlassHandle klass (THREAD, method->method_holder());
1191 bool authorized = is_authorized(h_context, klass, CHECK_NULL);
1204 methodOop m_oop = Klass::cast(object->klass())->uncached_lookup_method(
1423 // Throws an exception if outer klass has not declared k as
1424 // an inner klass
1516 // Throws an exception if outer klass has not declared k as an inner klass
1517 // We need evidence that each klass knows about the other, or else
1603 if (reflected->klass() == SystemDictionary::reflect_Constructor_klass()) {
1607 assert(reflected->klass() == SystemDictionary::reflect_Method_klass(),
2121 assert(Klass::cast(k)->oop_is_instance(), "must be an instance klass");
2147 // klassOop class_to_verify_considering_redefinition(klassOop klass).
3175 KlassHandle klass;
3178 KlassLink(KlassHandle k) { klass = k; next = NULL; }
3212 result->obj_at_put(index++, Klass::cast(first->klass())->java_mirror());
3344 // Make sure klass is initialized, since we are about to instantiate one of them.
3885 field_offset = jfieldIDWorkaround::from_instance_jfieldID(o->klass(), fid);
4011 int field_offset = jfieldIDWorkaround::from_instance_jfieldID(o->klass(), fid);
4105 klassOop klass = SystemDictionary::resolve_or_fail(name, loader, protection_domain, throwError != 0, CHECK_NULL);
4107 KlassHandle klass_handle(THREAD, klass);
4201 intptr_t fldOffs = jfieldIDWorkaround::from_instance_jfieldID(o->klass(), fid);
4282 klassOop k = objArrayKlass::cast(ah->klass())->element_klass();