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

Atomic hotswapping in JIT mode #2786

Merged
merged 4 commits into from
Jun 9, 2021
Merged

Conversation

bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Mar 28, 2021

May conflict with #2745 or #2750, so please merge those first.

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Mar 28, 2021
@bjorn3
Copy link
Contributor Author

bjorn3 commented Apr 7, 2021

Writing the GOT entries needs to be delayed until after relocations have been performed and the memory has been marked as executable for code or read only for read only data.

@bjorn3
Copy link
Contributor Author

bjorn3 commented Apr 28, 2021

Writing the GOT entries needs to be delayed until after relocations have been performed and the memory has been marked as executable for code or read only for read only data.

@eggyal has implemented this. Thanks!

@bjorn3 bjorn3 force-pushed the atomic_jit branch 2 times, most recently from c51af98 to a19695b Compare May 5, 2021 09:24
@bjorn3
Copy link
Contributor Author

bjorn3 commented May 10, 2021

I cleaned up the PR. Ready for review.

@bjorn3
Copy link
Contributor Author

bjorn3 commented Jun 8, 2021

r? @abrown ?

Copy link
Contributor

@abrown abrown left a comment

Choose a reason for hiding this comment

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

Looks OK to me but I'll defer to @sunfishcode if he has any comments.

@abrown abrown merged commit e6f3994 into bytecodealliance:main Jun 9, 2021
@bjorn3 bjorn3 deleted the atomic_jit branch June 9, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants