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

(v0.32.0) Average Copy Forward Rate fix #14790

Conversation

amicic
Copy link
Contributor

@amicic amicic commented Mar 28, 2022

Don't calculate average CopyFoward rate (mostly characteristic of h/w
expressed in Bytes/microsec units) if no bytes are copied (for example
due to abort, all have been subject to Mark-Compact). Otherwise we would
incorrectly drag down the averages, potentially to 0, which may later
cause problems.

We still calculate average amount of bytes that are Copy-Forwarded per
PGC, and it's ok to drag down the average if we indeed do all or mostly
Mark-Compact work.

Port of #14771 for the 0.32 release.

Signed-off-by: Aleksandar Micic amicic@ca.ibm.com

Don't calculate average CopyFoward rate (mostly characteristic of h/w
expressed in Bytes/microsec units) if no bytes are copied (for example
due to abort, all have been subject to Mark-Compact). Otherwise we would
incorrectly drag down the averages, potentially to 0, which may later
cause problems.

We still calculate average amount of bytes that are Copy-Forwarded per
PGC, and it's ok to drag down the average if we indeed do all or mostly
Mark-Compact work.

Signed-off-by: Aleksandar Micic <amicic@ca.ibm.com>
@amicic amicic added the comp:gc label Mar 28, 2022
@pshipton pshipton merged commit aba71a7 into eclipse-openj9:v0.32.0-release Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants