Skip to content

Conversation

@hoyosjs
Copy link
Member

@hoyosjs hoyosjs commented Apr 11, 2023

* Fix IndexOutOfRangeException

Fix an IndexOutOfRangeException with !sos maddress.

* Add initial parts length check

* One more fix
I moved the the "Generation" enum to ClrMD itself. It's far more useful (and accurate) to talk about an object's generation as a member of an enum which describes it rather than a simple integer. This change flowed through the SOS commands which used ClrSegment.GetGeneration.

I manually tested all commands affected.
In my previous !dumpheap change I overlooked the fragmentation output.  This adds fragmentation output in the exact same was as the previous C++ code.

The new code now validates the Free region is actually followed by the next object, and that those objects do not live on the Pinned, Frozen, or Large object heaps.
@hoyosjs hoyosjs requested a review from a team as a code owner April 11, 2023 00:41
@hoyosjs hoyosjs merged commit e01ddda into dotnet:release/stable Apr 12, 2023
@hoyosjs hoyosjs deleted the juhoyosa/check-ports branch April 12, 2023 00:23
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants