Lines Matching refs:klass
40 #include "oops/klass.hpp"
66 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \
67 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum);
69 #define DECLARE_INJECTED_FIELD(klass, name, signature, may_be_java) \
70 { SystemDictionary::WK_KLASS_ENUM_NAME(klass), vmSymbols::VM_SYMBOL_ENUM_NAME(name##_name), vmSymbols::VM_SYMBOL_ENUM_NAME(signature), may_be_java },
93 #define LOOKUP_INJECTED_FIELD(klass, name, signature, may_be_java) \
94 if (sid == vmSymbols::VM_SYMBOL_ENUM_NAME(klass)) { \
96 if (start == -1) start = klass##_##name##_enum; \
434 java_string->klass() == SystemDictionary::String_klass(),
452 assert(obj->klass() == SystemDictionary::String_klass(), "must be java_string");
548 instanceMirrorKlass* mk = instanceMirrorKlass::cast(mirror->klass());
569 // Two-way link between the array klass and its component mirror:
604 // introducing a new VM klass (see comment in ClassFileParser)
628 void java_lang_Class::set_klass(oop java_class, klassOop klass) {
630 java_class->obj_field_put(_klass_offset, klass);
685 assert(k == NULL || k->is_klass() && Klass::cast(k)->oop_is_javaArray(), "should be array klass");
690 void java_lang_Class::set_array_klass(oop java_class, klassOop klass) {
691 assert(klass->is_klass() && Klass::cast(klass)->oop_is_javaArray(), "should be array klass");
692 java_class->obj_field_put(_array_klass_offset, klass);
850 assert(name == NULL || (name->is_typeArray() && typeArrayKlass::cast(name->klass())->element_type() == T_CHAR), "just checking");
1136 klassOop k = throwable->klass();
1148 klassOop k = throwable->klass();
1160 instanceKlass* klass = instanceKlass::cast(method->method_holder());
1161 const char* klass_name = klass->external_name();
1164 if (klass->source_file_name() == NULL) {
1167 source_file_name = klass->source_file_name()->as_C_string();
1224 KlassHandle(THREAD, stream->klass()),
1279 KlassHandle(THREAD, h_throwable->klass()),
1798 klassOop klass = SystemDictionary::reflect_Method_klass();
1801 assert(instanceKlass::cast(klass)->is_initialized(), "must be initialized");
1802 return instanceKlass::cast(klass)->allocate_instance_handle(CHECK_NH);
1959 instanceKlassHandle klass (THREAD, k);
1961 klass->initialize(CHECK_NH);
1962 return klass->allocate_instance_handle(CHECK_NH);
2081 instanceKlassHandle klass (THREAD, k);
2083 klass->initialize(CHECK_NH);
2084 return klass->allocate_instance_handle(CHECK_NH);
2182 instanceKlassHandle klass (THREAD, k);
2184 klass->initialize(CHECK_NH);
2185 return klass->allocate_instance_handle(CHECK_NH);
2255 BasicType type = SystemDictionary::box_klass_type(box->klass());
2263 BasicType type = SystemDictionary::box_klass_type(box->klass());
2297 BasicType type = SystemDictionary::box_klass_type(box->klass());
2675 assert(context.not_null() && context->klass() == SystemDictionary::AccessControlContext_klass(), "Invalid type");
2683 // Ensure klass is initialized
3146 // CHECK_OFFSET("java/lang/Class", java_lang_Class, klass); // %%% this needs to be checked
3224 klassOop klass_oop = klass();