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 #16852

Merged
merged 3 commits into from
Mar 9, 2023

Conversation

dsouzai
Copy link
Contributor

@dsouzai dsouzai commented Mar 8, 2023

  • Address -Xrs and -Xtrace post restore
  • Reset start and elapsed time post restore

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 8, 2023
@dsouzai dsouzai changed the title Post Restore Options Processing Part 3 Post Restore Options Processing Part 4 Mar 8, 2023
@dsouzai
Copy link
Contributor Author

dsouzai commented Mar 8, 2023

@mpirvu could you please review?
@vijaysun-omr fyi

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

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

LGTM

@mpirvu
Copy link
Contributor

mpirvu commented Mar 9, 2023

jenkins test sanity all jdk17

@mpirvu
Copy link
Contributor

mpirvu commented Mar 9, 2023

Tests have passes, hence merging.

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