Lines Matching refs:the_class

513              instanceKlassHandle the_class,
520 if (the_class->super() != scratch_class->super() &&
521 (the_class->super() == NULL || scratch_class->super() == NULL ||
522 Klass::cast(the_class->super())->name() !=
534 objArrayOop k_interfaces = the_class->local_interfaces();
548 if (the_class->is_in_error_state()) {
554 jushort old_flags = (jushort) the_class->access_flags().get_flags();
562 JavaFieldStream old_fs(the_class);
576 Symbol* name_sym1 = the_class->constants()->symbol_at(old_fs.name_index());
577 Symbol* sig_sym1 = the_class->constants()->symbol_at(old_fs.signature_index());
608 objArrayHandle k_old_methods(the_class->methods());
713 u2 num = the_class->next_method_idnum();
859 instanceKlassHandle the_class = instanceKlassHandle(THREAD, the_class_oop);
860 Symbol* the_class_sym = the_class->name();
865 the_class->external_name(), _class_load_kind,
872 Handle the_class_loader(THREAD, the_class->class_loader());
873 Handle protection_domain(THREAD, the_class->protection_domain());
877 state->set_class_being_redefined(&the_class, _class_load_kind);
915 if (!the_class->is_linked()) {
916 the_class->link_class(THREAD);
934 // the_class to scratch_class. In particular, we don't have to
936 jvmtiError res = compare_and_normalize_class_versions(the_class,
945 // Information about the_class and scratch_class is temporarily
947 // the_class to scratch_class in the JVM_* functions called by the
950 RedefineVerifyMark rvm(&the_class, &scratch_class, state);
969 res = merge_cp_and_rewrite(the_class, scratch_class, THREAD);
977 RedefineVerifyMark rvm(&the_class, &scratch_class, state);
1016 the_class->external_name(), os::available_memory() >> 10));
1243 // Merge constant pools between the_class and scratch_class and
1247 instanceKlassHandle the_class, instanceKlassHandle scratch_class,
1250 int merge_cp_length = the_class->constants()->length()
1253 constantPoolHandle old_cp(THREAD, the_class->constants());
2542 // Unevolving classes may point to methods of the_class directly
2585 // Fix the vtable embedded in the_class and subclasses of the_class,
2600 // interface or if the current class is a subclass of the_class, then
2616 // methods in the_class. We have to update method information in
2622 // Special case: if the current class is the_class, then new_cp
2623 // has already been attached to the_class and old_cp has already
2721 // methods to the_class so the old methods are effectively
2756 // when the new methods are attached to the_class.
2820 // This class is used after the new methods have been installed in "the_class".
2836 instanceKlassHandle the_class;
2851 methodOop method = Klass::cast(the_class())->lookup_method(name_symbol, signature);
2917 the_class = _the_class;
2941 void VM_RedefineClasses::transfer_old_native_function_registrations(instanceKlassHandle the_class) {
2942 TransferNativeFunctionRegistration transfer(the_class);
3052 // - replacing parts in the_class with parts from scratch_class
3054 // parts of the_class
3056 // that refer to methods in the_class. These adjustments use the
3068 instanceKlassHandle the_class = instanceKlassHandle(THREAD, the_class_oop);
3080 the_class->method_with_idnum(Universe::reflect_invoke_cache()->method_idnum()));
3084 flush_dependent_code(the_class, THREAD);
3086 _old_methods = the_class->methods();
3094 scratch_class->constants()->set_pool_holder(the_class());
3119 instanceKlass *ik = (instanceKlass *)the_class()->klass_part();
3143 the_class->set_methods(_new_methods);
3147 constantPoolOop old_constants = the_class->constants();
3148 the_class->set_constants(scratch_class->constants());
3191 transfer_old_native_function_registrations(the_class);
3194 // with them was cached on the scratch class, move to the_class.
3196 // should get cleared in the_class too.
3197 if (the_class->get_cached_class_file_bytes() == 0) {
3198 // the_class doesn't have a cache yet so copy it
3199 the_class->set_cached_class_file(
3205 assert(the_class->get_cached_class_file_bytes() ==
3207 assert(the_class->get_cached_class_file_len() ==
3213 typeArrayOop old_inner_classes = the_class->inner_classes();
3214 the_class->set_inner_classes(scratch_class->inner_classes());
3226 the_class->vtable()->initialize_vtable(false, THREAD);
3227 the_class->itable()->initialize_itable(false, THREAD);
3234 the_class->set_source_file_name(scratch_class->source_file_name());
3237 the_class->set_source_debug_extension(
3244 the_class->access_flags().has_localvariable_table()) {
3246 AccessFlags flags = the_class->access_flags();
3252 the_class->set_access_flags(flags);
3256 typeArrayOop old_class_annotations = the_class->class_annotations();
3257 the_class->set_class_annotations(scratch_class->class_annotations());
3261 objArrayOop old_fields_annotations = the_class->fields_annotations();
3262 the_class->set_fields_annotations(scratch_class->fields_annotations());
3266 objArrayOop old_methods_annotations = the_class->methods_annotations();
3267 the_class->set_methods_annotations(scratch_class->methods_annotations());
3272 the_class->methods_parameter_annotations();
3273 the_class->set_methods_parameter_annotations(
3279 the_class->methods_default_annotations();
3280 the_class->set_methods_default_annotations(
3285 u2 old_minor_version = the_class->minor_version();
3286 the_class->set_minor_version(scratch_class->minor_version());
3290 u2 old_major_version = the_class->major_version();
3291 the_class->set_major_version(scratch_class->major_version());
3295 u2 old_class_idx = the_class->enclosing_method_class_index();
3296 u2 old_method_idx = the_class->enclosing_method_method_index();
3297 the_class->set_enclosing_method_indices(
3303 the_class->add_previous_version(scratch_class, &emcp_methods,
3313 if (the_class->oop_map_cache() != NULL) {
3316 the_class->oop_map_cache()->flush_obsolete_entries();
3319 // increment the classRedefinedCount field in the_class and in any
3320 // direct and indirect subclasses of the_class
3321 increment_class_counter((instanceKlass *)the_class()->klass_part(), THREAD);
3326 the_class->external_name(),