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 ISOSDACInterface::GetThreadData reading the GC alloc context. #104762

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

mikem8361
Copy link
Member

The RuntimeThreadLocals struct that the gc_alloc_context is in wasn't being added to dump in Thread::EnumMemoryRegions.

It is failing to read memory here in the DAC GetThreadData() before this change.

The RuntimeThreadLocals struct that the gc_alloc_context is in wasn't being added
to dump in Thread::EnumMemoryRegions.
@mikem8361 mikem8361 requested a review from hoyosjs July 11, 2024 21:51
@mikem8361 mikem8361 self-assigned this Jul 11, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 11, 2024
src/coreclr/vm/threads.cpp Outdated Show resolved Hide resolved
@mikem8361 mikem8361 added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 11, 2024
Copy link
Contributor

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

@mikem8361 mikem8361 merged commit 0d5a9e7 into dotnet:main Jul 12, 2024
81 of 89 checks passed
@mikem8361 mikem8361 deleted the fixthreadlocal branch July 12, 2024 02:38
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants