8006546: JSR 292: typos in the ConstantPool::copy_cp_impl()
Simple typos that need to be fixed Reviewed-by: coleenp, twisti
This commit is contained in:
parent
823c749bd1
commit
da8ccb9375
@ -1129,7 +1129,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp,
|
||||
(len = old_off) * sizeof(u2));
|
||||
fillp += len;
|
||||
// first part of src
|
||||
Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(0),
|
||||
Copy::conjoint_memory_atomic(from_cp->operands()->adr_at(0),
|
||||
new_operands->adr_at(fillp),
|
||||
(len = from_off) * sizeof(u2));
|
||||
fillp += len;
|
||||
@ -1139,7 +1139,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp,
|
||||
(len = old_len - old_off) * sizeof(u2));
|
||||
fillp += len;
|
||||
// second part of src
|
||||
Copy::conjoint_memory_atomic(to_cp->operands()->adr_at(from_off),
|
||||
Copy::conjoint_memory_atomic(from_cp->operands()->adr_at(from_off),
|
||||
new_operands->adr_at(fillp),
|
||||
(len = from_len - from_off) * sizeof(u2));
|
||||
fillp += len;
|
||||
|
Loading…
Reference in New Issue
Block a user