Searched refs:old_cp (Results 1 - 3 of 3) sorted by relevance

/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiRedefineClasses.cpp1045 // 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, argument
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
[all...]
H A DjvmtiRedefineClasses.hpp108 // Instead, the constant pool from the_class, old_cp, is merged with
110 // constant pool, merge_cp, replaces old_cp in the_class.
198 // constant pools, we copy all the entries from old_cp to merge_cp,
203 // uses old_cp should not be able to observe any difference if it
208 // There is one small complication in copying the entries from old_cp
237 // entries from old_cp to merge_cp, we have to revert any
243 // old_cp when they are changed into JVM_CONSTANT_UnresolvedClass
444 bool merge_constant_pools(constantPoolHandle old_cp,
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DInstructionList.java1132 public void replaceConstantPool(ConstantPoolGen old_cp, ConstantPoolGen new_cp) { argument
1138 Constant c = old_cp.getConstant(ci.getIndex());
1139 ci.setIndex(new_cp.addConstant(c, old_cp));

Completed in 422 milliseconds