Lines Matching defs:old_cp

1045 // Merge old_cp and scratch_cp and return the results of the merge via
1047 // merge_cp_length_p. The entries in old_cp occupy the same locations
1052 bool VM_RedefineClasses::merge_constant_pools(constantPoolHandle old_cp,
1064 // Worst case we need old_cp->length() + scratch_cp()->length(),
1067 if ((*merge_cp_p)->length() < old_cp->length()) {
1073 ("old_cp_len=%d, scratch_cp_len=%d", old_cp->length(),
1078 // The old_cp is copied to *merge_cp_p; this means that any code
1079 // using old_cp does not have to change. This work looks like a
1085 int old_i; // index into old_cp
1088 for (old_i = 1; old_i < old_cp->length(); old_i++) {
1090 jbyte old_tag = old_cp->tag_at(old_i).value();
1098 old_cp->klass_name_at(old_i));
1105 constantPoolOopDesc::copy_entry_to(old_cp, old_i, *merge_cp_p, old_i, CHECK_0);
1111 constantPoolOopDesc::copy_entry_to(old_cp, old_i, *merge_cp_p, old_i, CHECK_0);
1114 } // end for each old_cp entry
1121 // merge_cp_len should be the same as old_cp->length() at this point
1129 // Compare scratch_cp entries to the old_cp entries that we have
1134 int pass1a_length = MIN2(old_cp->length(), scratch_cp->length());
1202 // old_cp is smaller than scratch_cp so there are entries in
1253 constantPoolHandle old_cp(THREAD, the_class->constants());
1266 int orig_length = old_cp->orig_length();
1268 // This old_cp is an actual original constant pool. We save
1273 merge_cp->set_orig_length(old_cp->length());
1275 // This old_cp is a merged constant pool from a previous
1278 merge_cp->set_orig_length(old_cp->orig_length());
1285 bool result = merge_constant_pools(old_cp, scratch_cp, &merge_cp,
1299 if (old_cp->length() == scratch_cp->length()) {
1310 } else if (old_cp->length() < scratch_cp->length()) {
1364 assert(old_cp()->is_conc_safe(), "Just checking");
2623 // has already been attached to the_class and old_cp has already