-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimized Reference ArrayCopy on X86 #2963
Conversation
Reference ArrayCopy has been optimized that reduces the code-path length, and potentially improves performance. Signed-off-by: Victor Ding <dvictor@ca.ibm.com>
@0dvictor can you please expand on what has changed and the performance testing this has received please? |
This PR is based on OMR's arraycopy evaluator and OpenJ9's own "VMarrayStoreCheckArrayCopyEvaluator".
|
Performance impact were analyzed in two ways:
|
Jenkins test sanity xlinux,win jdk8,jdk11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@andrewcraik I don't like the fact this was merged without involving me. I would certainly have rejected the formatting in cnathelp.cpp and xnathelp.m4. The C code also contains unnecessary (though not strictly incorrect) code. Much like the new CS code, I would likely have insisted on a more sensible way of dealing with the differences in calling conventions. |
Reference ArrayCopy has been optimized that reduces the code-path length,
and potentially improves performance.
Part of Issue: #3054
Signed-off-by: Victor Ding dvictor@ca.ibm.com