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

JFR ThreadContextSwitchRate fix-ups #20881

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

thallium
Copy link
Contributor

@thallium thallium commented Jan 3, 2025

  • explicitly initialize prevContextSwitches
  • calculate switchRate with float

Related: #20725

@theresa-m theresa-m requested a review from keithc-ca January 6, 2025 14:43
runtime/vm/jfr.cpp Outdated Show resolved Hide resolved
runtime/vm/jfr.cpp Outdated Show resolved Hide resolved
@thallium thallium force-pushed the jfr-context-switch branch from 25adabf to c2268a3 Compare January 6, 2025 19:56
runtime/vm/jfr.cpp Outdated Show resolved Hide resolved
runtime/vm/jfr.cpp Show resolved Hide resolved
- explicitly initialize prevContextSwitches
- calculate switchRate with float

Related: eclipse-openj9#20725
Signed-off-by: Gengchen Tuo <[email protected]>
@thallium thallium force-pushed the jfr-context-switch branch from c2268a3 to ef1e555 Compare January 7, 2025 19:51
@keithc-ca
Copy link
Contributor

Jenkins test sanity zlinux jdk21

@tajila tajila merged commit b10ba9d into eclipse-openj9:master Jan 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants