Lines Matching refs:klass
310 JRT_ENTRY(void, Runtime1::new_instance(JavaThread* thread, klassOopDesc* klass))
313 assert(oop(klass)->is_klass(), "not a class");
314 instanceKlassHandle h(thread, klass);
316 // make sure klass is initialized
324 JRT_ENTRY(void, Runtime1::new_type_array(JavaThread* thread, klassOopDesc* klass, jint length))
326 // Note: no handle for klass needed since they are not used
329 assert(oop(klass)->is_klass(), "not a class");
330 BasicType elt_type = typeArrayKlass::cast(klass)->element_type();
345 // Note: no handle for klass needed since they are not used
360 JRT_ENTRY(void, Runtime1::new_multi_array(JavaThread* thread, klassOopDesc* klass, int rank, jint* dims))
363 assert(oop(klass)->is_klass(), "not a class");
365 oop obj = arrayKlass::cast(klass)->multi_allocate(rank, dims, CHECK);
377 const char* klass_name = Klass::cast(obj->klass())->external_name();
634 thread, Klass::cast(object->klass())->external_name());
714 return result.klass()();
818 KlassHandle init_klass(THREAD, klassOop(NULL)); // klass needed by access_field_patching code
847 { klassOop klass = resolve_field_return_klass(caller_method, bci, CHECK);
849 init_klass = KlassHandle(THREAD, klass);
850 k = klass->java_mirror();
958 instr_pc, (stub_id == Runtime1::access_field_patching_id) ? "field" : "klass");
982 // If a getstatic or putstatic is referencing a klass which
994 // patch the instruction <move reg, klass>
1000 assert(load_klass() != NULL, "klass not set");
1190 klassOop bound = objArrayKlass::cast(dst->klass())->element_klass();
1191 klassOop stype = objArrayKlass::cast(src->klass())->element_klass();
1217 const klassOop klass_oop = src->klass();
1218 if (klass_oop != dst->klass()) return ac_failed;
1219 typeArrayKlass* klass = typeArrayKlass::cast(klass_oop);
1220 const int l2es = klass->log2_element_size();
1221 const int ihs = klass->array_header_in_bytes() / wordSize;