Skip to content
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

Make PassThrough x86 NULLCHKs implicit #5708

Merged
merged 1 commit into from
May 15, 2019

Conversation

andrewcraik
Copy link
Contributor

Currently a NULLCHK with a PassThrough will evaluate into test and
branch sequences. This change switches the sequence to simply touch
the memory of the value being NULLCHK'd. A trap will result in the
appropriate null pointer exception and saves a branch at the cost of
some potential cache pollution.

Signed-off-by: Andrew Craik ajcraik@ca.ibm.com

Currently a NULLCHK with a PassThrough will evaluate into test and
branch sequences. This change switches the sequence to simplify touch
the memory of the value being NULLCHK'd. A trap will result in the
appropriate null pointer exception and saves a branch at the cost of
some cache pollution.

Signed-off-by: Andrew Craik <ajcraik@ca.ibm.com>
@andrewcraik
Copy link
Contributor Author

Jenkins test sanity xlinux,win jdk8,jdk11

@fjeremic
Copy link
Contributor

Linux failed due to infrastructure. Relaunching.

Jenkins test sanity xlinux jdk8

@andrewcraik
Copy link
Contributor Author

@0xdaryl could you review the x codegen change for me? Ordinarily I do the x reviews, but approving my own work is not something I want to do...

@0xdaryl 0xdaryl self-assigned this May 15, 2019
@0xdaryl 0xdaryl merged commit b0e15aa into eclipse-openj9:master May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants