comparison src/share/vm/oops/constantPool.cpp @ 7964:dc31f560d6e7

8006546: JSR 292: typos in the ConstantPool::copy_cp_impl() Summary: Simple typos that need to be fixed Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn@oracle.com
author sspitsyn
date Thu, 31 Jan 2013 20:09:16 -0800
parents 0d26ce8e9251
children f16e75e0cf11
comparison
equal deleted inserted replaced
7963:9bf5f643d1cf 7964:dc31f560d6e7
1127 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(0), 1127 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(0),
1128 new_operands->adr_at(fillp), 1128 new_operands->adr_at(fillp),
1129 (len = old_off) * sizeof(u2)); 1129 (len = old_off) * sizeof(u2));
1130 fillp += len; 1130 fillp += len;
1131 // first part of src 1131 // first part of src
1132 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(0), 1132 Copy::conjoint_memory_atomic(from_cp->operands()->adr_at(0),
1133 new_operands->adr_at(fillp), 1133 new_operands->adr_at(fillp),
1134 (len = from_off) * sizeof(u2)); 1134 (len = from_off) * sizeof(u2));
1135 fillp += len; 1135 fillp += len;
1136 // second part of dest 1136 // second part of dest
1137 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(old_off), 1137 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(old_off),
1138 new_operands->adr_at(fillp), 1138 new_operands->adr_at(fillp),
1139 (len = old_len - old_off) * sizeof(u2)); 1139 (len = old_len - old_off) * sizeof(u2));
1140 fillp += len; 1140 fillp += len;
1141 // second part of src 1141 // second part of src
1142 Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(from_off), 1142 Copy::conjoint_memory_atomic(from_cp->operands()->adr_at(from_off),
1143 new_operands->adr_at(fillp), 1143 new_operands->adr_at(fillp),
1144 (len = from_len - from_off) * sizeof(u2)); 1144 (len = from_len - from_off) * sizeof(u2));
1145 fillp += len; 1145 fillp += len;
1146 assert(fillp == new_operands->length(), ""); 1146 assert(fillp == new_operands->length(), "");
1147 1147