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

Support parsing GCHeapStats_V2 #1295

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

cshung
Copy link
Member

@cshung cshung commented Oct 28, 2020

dotnet/runtime#34549 introduced GCHeapStats_V2. The new event requires additional parsing logic to handle the extra fields.

The change is driven by adding the GenerationSize4 and TotalPromotedSize4 fields to GCHeapStatsTraceData class and add the appropriate parsing logic there, the rest is driven by consuming these fields in various places where we consumed GenerationSize3 or TotalPromotedSize3.

Most of the changes are routine, except one place I marked with a TODO where I am not exactly sure what to do there.

I am sure the parsing logic is correct by taking a dump at the point when the event is emitted and comparing the parsed values with the dump. The correctness of the rest is less clear.

Copy link
Member

@brianrob brianrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the exception of the TODO, everything LGTM!

@tommcdon
Copy link
Member

tommcdon commented Nov 2, 2020

@karpinsn

@cshung
Copy link
Member Author

cshung commented Nov 2, 2020

@brianrob This is ready to be merged.

@brianrob brianrob merged commit 41d4aed into microsoft:master Nov 3, 2020
@cshung cshung deleted the public/dev/andrewau/fixpoh branch November 3, 2020 03:01
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.

4 participants