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

Reset CPU utilization stats post-restore #16862

Open
dsouzai opened this issue Mar 8, 2023 · 0 comments
Open

Reset CPU utilization stats post-restore #16862

dsouzai opened this issue Mar 8, 2023 · 0 comments
Labels
comp:jit criu Used to track CRIU snapshot related work

Comments

@dsouzai
Copy link
Contributor

dsouzai commented Mar 8, 2023

CpuUtilization keeps track of JVM CPU usage. When restoring from a checkpoint, there is no value in having information about CPU usage pre-checkpoint (except perhaps for compiler developers). Therefore, reset the fields in the CpuUtilization object. It may be worth also looking into resetting CPU stats of various compiler threads.

Implementing this safely depends on having #16859 implemented.

@dsouzai dsouzai added comp:jit criu Used to track CRIU snapshot related work labels Mar 8, 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

No branches or pull requests

1 participant