-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add additional fields to GC:ProfStats
#13734
Add additional fields to GC:ProfStats
#13734
Conversation
@@ -66,7 +66,9 @@ module GC | |||
gc_no : UInt64, | |||
markers_m1 : UInt64, | |||
bytes_reclaimed_since_gc : UInt64, | |||
reclaimed_bytes_before_gc : UInt64 | |||
reclaimed_bytes_before_gc : UInt64, | |||
expl_freed_bytes_since_gc : UInt64, |
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.
I know this is is the same naming as Boehm but should this be more clear
maybe something like explicitly_freed_bytes_since_gc
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.
We're going with the library names everywhere else, so it's fine to keep that here as well.
Something to consider: as I understand, anyone who has libgc < 8 will now experience a crash? Or was it already unsupported? |
LibGC 8.0.0 was released in 2018. At least in Linux all precompiled
compilers comes with (a modern) libgc as a static library. In homebrew and
freebsd the LibGC are also modern.
…On Thu, 10 Aug 2023, 08:24 Oleh Prypin, ***@***.***> wrote:
Something to consider: as I understand, anyone who has libgc < 8 will now
experience a crash? Or was it already unsupported?
—
Reply to this email directly, view it on GitHub
<#13734 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL6TSUERB6OT5SSN37O2TXUR5CXANCNFSM6AAAAAA3IH3D7U>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The function is not supposed to break because it requires passing |
GC:ProfStats
Available since Boehm GC 8.0.0:
https://github.com/ivmai/bdwgc/blob/v8.0.0/include/gc.h#L726