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

Post Restore Options Processing Part 4 (0.38) #16876

Merged

Conversation

dsouzai
Copy link
Contributor

@dsouzai dsouzai commented Mar 10, 2023

Cherry-pick of #16852

Unless specified pre-checkpoint, the compiler generates will
generate code assuming these options are not set. If these options are
then specified post-restore, the options processing code will
invalidate all JIT code in the code cache, as well as prevent further
AOT compilation (since the AOT method header would have already been
validated).

Signed-off-by: Irwin D'Souza <[email protected]>
The Checkpoint phase is conceptually part of building the application;
therefore it does not make sense to expect a user who specifies an
option such as `-XsamplingExpirationTime` to take into account the time
spent executing in the Checkpoint phase. Therefore, on restore, both
the start and elapsed time are reset.

Signed-off-by: Irwin D'Souza <[email protected]>
Signed-off-by: Irwin D'Souza <[email protected]>
@dsouzai dsouzai added comp:jit criu Used to track CRIU snapshot related work labels Mar 10, 2023
@dsouzai
Copy link
Contributor Author

dsouzai commented Mar 10, 2023

@mpirvu could you please merge?

@mpirvu mpirvu merged commit 931503d into eclipse-openj9:v0.38.0-release Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jit criu Used to track CRIU snapshot related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants