hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 30289 10b7b61d759a
parent 30229 2d8a6a2ee279
child 30752 e8641f96a82b
child 30764 fec48bf5a827
child 31038 2fd2fdc6a70a
equal deleted inserted replaced
30288:476c276de939 30289:10b7b61d759a
  3431     for (InstanceKlass* pv_node = ik->previous_versions();
  3431     for (InstanceKlass* pv_node = ik->previous_versions();
  3432          pv_node != NULL;
  3432          pv_node != NULL;
  3433          pv_node = pv_node->previous_versions()) {
  3433          pv_node = pv_node->previous_versions()) {
  3434       cp_cache = pv_node->constants()->cache();
  3434       cp_cache = pv_node->constants()->cache();
  3435       if (cp_cache != NULL) {
  3435       if (cp_cache != NULL) {
  3436         cp_cache->adjust_method_entries(_matching_old_methods,
  3436         cp_cache->adjust_method_entries(pv_node, &trace_name_printed);
  3437                                         _matching_new_methods,
       
  3438                                         _matching_methods_length,
       
  3439                                         &trace_name_printed);
       
  3440       }
  3437       }
  3441     }
  3438     }
  3442   }
  3439   }
  3443 }
  3440 }
  3444 
  3441 
  4083 
  4080 
  4084   // JSR-292 support
  4081   // JSR-292 support
  4085   MemberNameTable* mnt = the_class->member_names();
  4082   MemberNameTable* mnt = the_class->member_names();
  4086   if (mnt != NULL) {
  4083   if (mnt != NULL) {
  4087     bool trace_name_printed = false;
  4084     bool trace_name_printed = false;
  4088     mnt->adjust_method_entries(_matching_old_methods,
  4085     mnt->adjust_method_entries(the_class(), &trace_name_printed);
  4089                                _matching_new_methods,
       
  4090                                _matching_methods_length,
       
  4091                                &trace_name_printed);
       
  4092   }
  4086   }
  4093 
  4087 
  4094   // Fix Resolution Error table also to remove old constant pools
  4088   // Fix Resolution Error table also to remove old constant pools
  4095   SystemDictionary::delete_resolution_error(old_constants);
  4089   SystemDictionary::delete_resolution_error(old_constants);
  4096 
  4090