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

Fix GCStart message in StressLog and StressLogAnalyzer #108655

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

markples
Copy link
Member

@markples markples commented Oct 8, 2024

  • Split gcDetailedStartMsg to fit under the 16-argument limit for the stress log but keep all arguments for SIMPLE_DPRINTF
  • Perform some cleanup related to gcDetailedStartMsg
  • Update StressLogAnalyzer to handle 16-argument messages and avoid buffer over-reads
  • Enable TRACE_GC pipeline build

Includes #108089 until it is merged
Fixes #108628

src/coreclr/gc/gc.h Outdated Show resolved Hide resolved
@@ -1299,6 +1295,7 @@ int ProcessStressLog(void* baseAddress, int argc, char* argv[])
memset(&mapImageToStringId, 0, sizeof(mapImageToStringId));
memset(s_interestingStringFilter, 0, sizeof(s_interestingStringFilter));
memset(s_interestingStringMatchMode, 0, sizeof(s_interestingStringMatchMode));
s_interestingStringMatchMode[IS_GCSTART] = true;
Copy link
Member Author

@markples markples Oct 8, 2024

Choose a reason for hiding this comment

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

This is an unfortunate detail to have here, but I don't think we want to generalize the InterestingStrings table to have a prefix bool.

Copy link
Member

Choose a reason for hiding this comment

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

This will be a little easier to do in the managed implementation I think.

src/coreclr/gc/gcpriv.h Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable TRACE_GC validation build once the build has been fixed
2 participants