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

(0.35.0) AArch64 macOS: Re-acquire execution permission in compilation threads #15924

Merged

Conversation

knn-k
Copy link
Contributor

@knn-k knn-k commented Sep 19, 2022

This commit adds a call to pthread_jit_write_protect_np(1) at the end of TR::CompilationInfoPerThreadBase::compile() so that the JIT compilation thread always re-acquires the execution permission for JIT code cache.

Original PR in master: #15907

Signed-off-by: KONNO Kazuhiro konno@jp.ibm.com

…n threads

This commit adds a call to pthread_jit_write_protect_np(1) at the
end of TR::CompilationInfoPerThreadBase::compile() so that the JIT
compilation thread always re-acquires the execution permission for
JIT code cache.

Original PR in master: eclipse-openj9#15907

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
@pshipton pshipton merged commit d8f6fe2 into eclipse-openj9:v0.35.0-release Sep 21, 2022
@knn-k knn-k deleted the aarch64macos_jit_protect_0.35 branch September 21, 2022 21:22
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.

2 participants