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

Do not look at JIT startup state for turning GCR on/off #19863

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

mpirvu
Copy link
Contributor

@mpirvu mpirvu commented Jul 17, 2024

If the JVM is in JITServer client mode, GCR counting will be enabled even during JIT startup phases (but not during JVM startup phase which only happens once). This allows GCR recompilations to happen sooner, improving rampup. In client mode there is a lesser risk that GCR recompilation overhead will impact the throughput of the JVM.
This change can be overridden by using the following environment variable:
export TR_LookAtJitStateForGCREnablement=1

If the JVM is in JITServer client mode, GCR counting will be
enabled even during JIT startup phases (but not during JVM startup
phase which only happens once). This allows GCR recompilations
to happen sooner, improving rampup. In client mode there is a
lesser risk that GCR recompilation overhead will impact the
throughput of the JVM.
This change can be overridden by using the following environment
variable:
export TR_LookAtJitStateForGCREnablement=1

Signed-off-by: Marius <mpirvu@ca.ibm.com>
@mpirvu mpirvu added the comp:jitserver Artifacts related to JIT-as-a-Service project label Jul 17, 2024
@mpirvu mpirvu requested a review from dsouzai as a code owner July 17, 2024 14:30
@mpirvu
Copy link
Contributor Author

mpirvu commented Jul 17, 2024

jenkins test sanity xlinuxjit,zlinuxjit,alinux64jit jdk21

@mpirvu
Copy link
Contributor Author

mpirvu commented Jul 18, 2024

@dsouzai Could you please review/merge this PR? Thanks

@dsouzai dsouzai self-assigned this Jul 18, 2024
@dsouzai dsouzai merged commit 129082f into eclipse-openj9:master Jul 18, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jitserver Artifacts related to JIT-as-a-Service project
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants