Skip to content

[release/7.0] Fix signature for 64-bit delegate profiling helper - #74743

Merged
carlossanlop merged 3 commits into
release/7.0from
backport/pr-74500-to-release/7.0
Aug 29, 2022
Merged

[release/7.0] Fix signature for 64-bit delegate profiling helper#74743
carlossanlop merged 3 commits into
release/7.0from
backport/pr-74500-to-release/7.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 29, 2022

Copy link
Copy Markdown
Contributor

Backport of #74500 to release/7.0

/cc @jakobbotsch

Customer Impact

PGO data collection using 64-bit counters (DOTNET_JitCollect64BitCounts=1) does not work correctly. The symptom is segfault/access violations when PGO with 64-bit counters is enabled for code involving delegate calls.

This is a 7.0 regression from #68703.

Testing

This PR adds randomized testing of this feature to the PGO runs.

Risk

Low.

I missed updating the signature of the 64-bit variant here when the
vtable and delegate profiling helpers were originally split up.
Fix#74295
This needs some work so disable it for now.
@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 29, 2022
@ghost

Copy link
Copy Markdown

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

Issue Details

Backport of #74500 to release/7.0

/cc @jakobbotsch

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author:github-actions[bot]
Assignees:-
Labels:

area-CodeGen-coreclr

Milestone:-

@jeffschwMSFTjeffschwMSFT 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.

approved. Please get a code review.

@carlossanlop

Copy link
Copy Markdown
Contributor

Approved. Signed off. CI green. Ready to merge. :shipit:

@carlossanlop
carlossanlop merged commit 6fa754e into release/7.0Aug 29, 2022
@carlossanlop
carlossanlop deleted the backport/pr-74500-to-release/7.0 branch August 29, 2022 19:57
@ghostghost locked as resolved and limited conversation to collaborators Sep 29, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@carlossanlop@EgorBo@jeffschwMSFT@jakobbotsch