提交 ba167058 编写于 作者: A apangin

Merge

...@@ -3238,8 +3238,6 @@ void TemplateTable::_new() { ...@@ -3238,8 +3238,6 @@ void TemplateTable::_new() {
__ xorl(rcx, rcx); // use zero reg to clear memory (shorter code) __ xorl(rcx, rcx); // use zero reg to clear memory (shorter code)
__ store_klass_gap(rax, rcx); // zero klass gap for compressed oops __ store_klass_gap(rax, rcx); // zero klass gap for compressed oops
__ store_klass(rax, rsi); // store klass last __ store_klass(rax, rsi); // store klass last
__ jmp(done);
}
{ {
SkipIfEqual skip(_masm, &DTraceAllocProbes, false); SkipIfEqual skip(_masm, &DTraceAllocProbes, false);
...@@ -3248,7 +3246,11 @@ void TemplateTable::_new() { ...@@ -3248,7 +3246,11 @@ void TemplateTable::_new() {
__ call_VM_leaf( __ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_object_alloc), rax); CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_object_alloc), rax);
__ pop(atos); // restore the return value __ pop(atos); // restore the return value
} }
__ jmp(done);
}
// slow case // slow case
__ bind(slow_case); __ bind(slow_case);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册