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

Share implementation to re-reserve trampolines on code cache switch #4576

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

0xdaryl
Copy link
Contributor

@0xdaryl 0xdaryl commented Nov 19, 2019

Each code generator duplicates logic to re-reserve a trampoline for a
call target if the code cache is switched between the time the trampoline
is first reserved (likely instruction selection) and binary encoding.

The logic is nearly the same in all cases. Provide a common version
that is shared by all code generators.

Signed-off-by: Daryl Maier maier@ca.ibm.com

Each code generator duplicates logic to re-reserve a trampoline for a
call target if the code cache is switched between the time the trampoline
is first reserved (likely instruction selection) and binary encoding.

The logic is nearly the same in all cases.  Provide a common version
that is shared by all code generators.

Signed-off-by: Daryl Maier <maier@ca.ibm.com>
@0xdaryl
Copy link
Contributor Author

0xdaryl commented Nov 20, 2019

@genie-omr build all

@0xdaryl
Copy link
Contributor Author

0xdaryl commented Nov 20, 2019

Un-WIPing this as CI testing is back online.

@0xdaryl 0xdaryl changed the title WIP: Share implementation to re-reserve trampolines on code cache switch Share implementation to re-reserve trampolines on code cache switch Nov 20, 2019
Copy link
Contributor

@Leonardo2718 Leonardo2718 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@fjeremic fjeremic self-assigned this Nov 21, 2019
@fjeremic
Copy link
Contributor

@genie-omr build zlinux,plinux

@fjeremic fjeremic merged commit 629ebe5 into eclipse-omr:master Nov 21, 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