Lines Matching defs:merge_cp_p

178 // Append the current entry at scratch_i in scratch_cp to *merge_cp_p
179 // where the end of *merge_cp_p is specified by *merge_cp_length_p. For
185 // always appended to *merge_cp_p before the referee CP entry. These
186 // referenced CP entries may already exist in *merge_cp_p in which case
190 int scratch_i, constantPoolHandle *merge_cp_p, int *merge_cp_length_p,
209 (*merge_cp_p)->unresolved_klass_at_put(*merge_cp_length_p,
213 // The new entry in *merge_cp_p is at a different index than
225 constantPoolOopDesc::copy_entry_to(scratch_cp, scratch_i, *merge_cp_p, *merge_cp_length_p,
229 // The new entry in *merge_cp_p is at a different index than
250 constantPoolOopDesc::copy_entry_to(scratch_cp, scratch_i, *merge_cp_p, *merge_cp_length_p,
254 // The new entry in *merge_cp_p is at a different index than
267 scratch_cp->compare_entry_to(name_ref_i, *merge_cp_p, name_ref_i,
270 // forward reference in *merge_cp_p or not a direct match
272 int found_i = scratch_cp->find_matching_entry(name_ref_i, *merge_cp_p,
278 // Found a matching entry somewhere else in *merge_cp_p so
283 // no match found so we have to append this entry to *merge_cp_p
284 append_entry(scratch_cp, name_ref_i, merge_cp_p, merge_cp_length_p,
296 scratch_cp->compare_entry_to(signature_ref_i, *merge_cp_p,
299 // forward reference in *merge_cp_p or not a direct match
302 *merge_cp_p, THREAD);
307 // Found a matching entry somewhere else in *merge_cp_p so
312 // no match found so we have to append this entry to *merge_cp_p
313 append_entry(scratch_cp, signature_ref_i, merge_cp_p,
322 // If the referenced entries already exist in *merge_cp_p, then
340 (*merge_cp_p)->name_and_type_at_put(*merge_cp_length_p,
343 // The new entry in *merge_cp_p is at a different index than
358 scratch_cp->compare_entry_to(klass_ref_i, *merge_cp_p, klass_ref_i,
361 // forward reference in *merge_cp_p or not a direct match
363 int found_i = scratch_cp->find_matching_entry(klass_ref_i, *merge_cp_p,
369 // Found a matching entry somewhere else in *merge_cp_p so
374 // no match found so we have to append this entry to *merge_cp_p
375 append_entry(scratch_cp, klass_ref_i, merge_cp_p, merge_cp_length_p,
390 scratch_cp->compare_entry_to(name_and_type_ref_i, *merge_cp_p,
393 // forward reference in *merge_cp_p or not a direct match
396 *merge_cp_p, THREAD);
401 // Found a matching entry somewhere else in *merge_cp_p so
406 // no match found so we have to append this entry to *merge_cp_p
407 append_entry(scratch_cp, name_and_type_ref_i, merge_cp_p,
417 // If the referenced entries already exist in *merge_cp_p, then
431 (*merge_cp_p)->field_at_put(*merge_cp_length_p, new_klass_ref_i,
436 (*merge_cp_p)->interface_method_at_put(*merge_cp_length_p,
441 (*merge_cp_p)->method_at_put(*merge_cp_length_p, new_klass_ref_i,
461 // The new entry in *merge_cp_p is at a different index than
1046 // merge_cp_p. The number of entries in *merge_cp_p is returned via
1048 // in *merge_cp_p. Also creates a map of indices from entries in
1049 // scratch_cp to the corresponding entry in *merge_cp_p. Index map
1053 constantPoolHandle scratch_cp, constantPoolHandle *merge_cp_p,
1056 if (merge_cp_p == NULL) {
1067 if ((*merge_cp_p)->length() < old_cp->length()) {
1078 // The old_cp is copied to *merge_cp_p; this means that any code
1097 (*merge_cp_p)->unresolved_klass_at_put(old_i,
1103 // just copy the entry to *merge_cp_p, but double and long take
1105 constantPoolOopDesc::copy_entry_to(old_cp, old_i, *merge_cp_p, old_i, CHECK_0);
1110 // just copy the entry to *merge_cp_p
1111 constantPoolOopDesc::copy_entry_to(old_cp, old_i, *merge_cp_p, old_i, CHECK_0);
1117 // *merge_cp_p bounds since we have the minimum on-entry check above.
1130 // already copied to *merge_cp_p. In this pass, we are eliminating
1148 bool match = scratch_cp->compare_entry_to(scratch_i, *merge_cp_p,
1154 *merge_cp_p, scratch_i)) {
1158 // class entries to unresolved class entries in *merge_cp_p,
1162 *merge_cp_p, scratch_i)) {
1166 // happens to be at scratch_i in *merge_cp_p.
1170 int found_i = scratch_cp->find_matching_entry(scratch_i, *merge_cp_p,
1176 // Found a matching entry somewhere else in *merge_cp_p so
1186 // all of *merge_cp_p (potentially) and that doesn't seem to be
1190 // referenced entries to *merge_cp_p.
1191 append_entry(scratch_cp, scratch_i, merge_cp_p, merge_cp_length_p,
1220 scratch_cp->find_matching_entry(scratch_i, *merge_cp_p, CHECK_0);
1222 // Found a matching entry somewhere else in *merge_cp_p so
1229 // referenced entries to *merge_cp_p.
1230 append_entry(scratch_cp, scratch_i, merge_cp_p, merge_cp_length_p,