-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
document metrics from GC_Num; rename one metric from GC_Num to match the name used by the equivalent C struct #60115
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
Conversation
…the name used by the equivalent C struct
6709139 to
9f595eb
Compare
|
Note: confirm whether renaming the |
| total_allocd::Int64 | ||
| # (GC internal) Per-thread allocation quota before triggering a GC | ||
| # NOTE: This field is no longer used by the heuristics in the stock GC | ||
| interval::Csize_t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from this change, LGTM. Will a nanosoldier run show how much breakage this will cause?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@d-netto If you want to make this non-breaking, you can keep both names, and leave a comment saying the old one is deprecated and will be removed in future versions.
You can possible even mark it deprecated? I don't know if that's possible to do for a field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for the results of PkgEval.
If only a few packages are using this field, then I'm inclined to just remove it and open issues on those packages to inform them that they should use interval instead.
|
@nanosoldier |
|
The package evaluation job you requested has completed - possible new issues were detected. Report summary❗ Packages that crashed9 packages crashed on the previous version too. ✖ Packages that failed15 packages failed only on the current version.
1509 packages failed on the previous version too. ✔ Packages that passed tests5 packages passed tests only on the current version.
5414 packages passed tests on the previous version too. ~ Packages that at least loaded3280 packages successfully loaded on the previous version too. ➖ Packages that were skipped altogether900 packages were skipped on the previous version too. |
|
I've looked over the test failures in the |
See PR title. I plan to clean up the GC metrics code a bit more in subsequent PRs.