提交 b55e4e8f 编写于 作者: S sspitsyn

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
上级 30abf54d
...@@ -1129,7 +1129,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp, ...@@ -1129,7 +1129,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp,
(len = old_off) * sizeof(u2)); (len = old_off) * sizeof(u2));
fillp += len; fillp += len;
// first part of src // 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), new_operands->adr_at(fillp),
(len = from_off) * sizeof(u2)); (len = from_off) * sizeof(u2));
fillp += len; fillp += len;
...@@ -1139,7 +1139,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp, ...@@ -1139,7 +1139,7 @@ void ConstantPool::copy_operands(constantPoolHandle from_cp,
(len = old_len - old_off) * sizeof(u2)); (len = old_len - old_off) * sizeof(u2));
fillp += len; fillp += len;
// second part of src // 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), new_operands->adr_at(fillp),
(len = from_len - from_off) * sizeof(u2)); (len = from_len - from_off) * sizeof(u2));
fillp += len; fillp += len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册