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

Direct call fixes for JITServer on Power #7384

Merged
merged 2 commits into from
Oct 24, 2019

Conversation

dchopra001
Copy link
Contributor

We add TR_MethodCallAddress relocation types here and JITServer checks for direct calls. Additionally, we don't generate a relocation record when a function is calling itself (because we can generate a PC relative instruction back to the startPC instead).

[skip ci]
Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
@dchopra001 dchopra001 mentioned this pull request Oct 8, 2019
17 tasks
@fjeremic fjeremic added comp:jitserver Artifacts related to JIT-as-a-Service project arch:power labels Oct 8, 2019
Copy link
Member

@ymanton ymanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor issues, but substance looks good otherwise.

@dchopra001
Copy link
Contributor Author

dchopra001 commented Oct 24, 2019

@ymanton All changes addressed here:
c1f8a4e.

For recursive direct calls, we can generate a branch relative
instruction back to startPC. So we don't need to generate relocation
records for those scenarios.

[skip ci]
Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
Copy link
Member

@ymanton ymanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No PR testing for Power yet so I'll merge it.

@ymanton ymanton merged commit 1104ed7 into eclipse-openj9:jitaas Oct 24, 2019
@dchopra001 dchopra001 deleted the directCallFixes branch July 13, 2021 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch:power comp:jitserver Artifacts related to JIT-as-a-Service project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants