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 TRACE_GC build #108089

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix TRACE_GC build #108089

wants to merge 2 commits into from

Conversation

jkoritzinsky
Copy link
Member

Allow floats to be passed on 64-bit builds.

@Maoni0 in #105545, you added too many arguments to the gcDetailedStartMsg and passed the 16-arg maximum (which is causing the build to fail). Also, by changing that message, using the StressLogAnalyzer on logs with the old "gcDetailedStartMsg" value (or in the non-BACKGROUND_GC builds) will not recognize GC start/end with the current native StressLogAnalyzer. Can we split the message into two separate messages to fix these issues?

Copy link
Contributor

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

@Maoni0
Copy link
Member

Maoni0 commented Sep 21, 2024

thanks for looking into this @jkoritzinsky!

can you please explain why the changes to gcDetailedStartMsg breaks stresslog analyzer? I thought the analyzer just used the first field (which I didn't change) to get the gc index and that's all it used from this message?

I can just not change it for stresslog, ie,keep the old msg when SIMPLE_DPRINTF is not defined and use the new one when it is defined. do you want me to submit a separate PR for that?

it's unfortunate how we have this limit for # of args for stress log entries...

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.

2 participants