Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Feb 14, 2025

No description provided.

Copilot AI review requested due to automatic review settings February 14, 2025 06:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (3)
  • src/coreclr/vm/gcenv.ee.common.cpp: Language not supported
  • src/coreclr/vm/i386/excepx86.cpp: Language not supported
  • src/coreclr/vm/threadsuspend.cpp: Language not supported

@dotnet-policy-service
Copy link
Contributor

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

@max-charlamb
Copy link
Member

Is it possible to use the same list of strings for the stresslog and DAC FrameNames?

Currently the runtime GetFrameTypeName returns a char* string as opposed to the DAC WCHAR string, but this could be converted before returning to the DAC.

unsigned truncatedLength = min(len, count - 1);
for (unsigned i = 0; i < truncatedLength; i++)
{
frameName[i] = pszName[i];
Copy link
Member Author

Choose a reason for hiding this comment

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

I was not able to find a reasonable conversion method that is available in the DAC and that has the right truncate semantics, so I have just open-coded it.

@jkotas
Copy link
Member Author

jkotas commented Feb 18, 2025

Is it possible to use the same list of strings for the stresslog and DAC FrameNames?

Fixed

Copy link
Member

@max-charlamb max-charlamb left a comment

Choose a reason for hiding this comment

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

I verified that the DAC strings work correctly.

lgtm

@jkotas jkotas merged commit 5587e2f into dotnet:main Feb 19, 2025
92 of 94 checks passed
@jkotas jkotas deleted the frame-identifier branch February 19, 2025 17:17
grendello pushed a commit to grendello/runtime that referenced this pull request Feb 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2025
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.

2 participants