Skip to content

Raise profiler ClassLoad events for array method tables - #120796

Merged
jkotas merged 1 commit into
dotnet:mainfrom
jakobbotsch:class-load-notification-arrays
Oct 16, 2025
Merged

jkotas merged 1 commit into
dotnet:mainfrom
jakobbotsch:class-load-notification-arrays

Conversation

@jakobbotsch

@jakobbotsch jakobbotsch commented Oct 16, 2025 •

Copy link
Copy Markdown
Member

See discussion around #120411 (comment).

Copilot AI review requested due to automatic review settings October 16, 2025 12:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the ClassLoader to raise profiler ClassLoad events for array method tables. Previously, array method tables were explicitly excluded from profiler notifications.

Key Changes:

  • Removes exclusion of array method tables from profiler ClassLoad events
  • Simplifies the conditional logic by removing the array check
  • Updates the comment to reflect that only generics with unbound variables are excluded

@github-actions github-actions Bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 16, 2025
Comment thread src/coreclr/vm/clsload.cpp Resolved

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@jkotas jkotas 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 Oct 16, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@jkotas
jkotas merged commit 2a63651 into dotnet:main Oct 16, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 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.

3 participants