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 signature for 64-bit delegate profiling helper #74500

Merged
merged 3 commits into from
Aug 29, 2022

Conversation

jakobbotsch
Copy link
Member

I missed updating the signature of the 64-bit variant here when the
vtable and delegate profiling helpers were originally split up.

Fix #74295

I missed updating the signature of the 64-bit variant here when the
vtable and delegate profiling helpers were originally split up.

Fix dotnet#74295
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 24, 2022
@ghost ghost assigned jakobbotsch Aug 24, 2022
@ghost
Copy link

ghost commented Aug 24, 2022

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

Issue Details

I missed updating the signature of the 64-bit variant here when the
vtable and delegate profiling helpers were originally split up.

Fix #74295

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

I've added a JitRandomlyCollect64BitCounts and turned it on in the randomized PGO legs to get some testing for this mode.

cc @dotnet/jit-contrib PTAL @EgorBo @AndyAyersMS

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

Bunch of the runs seem to have been "dead-lettered".. will retry

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@markples
Copy link
Member

Would it be worth devising a way for the compiler to assert that it has the right types (or at least number) of arguments for helper calls? Presumably these issues are going to be caught by normal testing, so it would be more a productivity thing, so is this kind of issue common?

This needs some work so disable it for now.
@jakobbotsch
Copy link
Member Author

jakobbotsch commented Aug 25, 2022

Would it be worth devising a way for the compiler to assert that it has the right types (or at least number) of arguments for helper calls? Presumably these issues are going to be caught by normal testing, so it would be more a productivity thing, so is this kind of issue common?

I'm not sure if the effort would be worth it, I don't think I've seen this kind of mismatch before. But we should definitely ensure that we have testing to exercise all the helpers and the code in the JIT that builds the calls to them.

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JulieLeeMSFT
Copy link
Member

@jakobbotsch are we going to backport this to 7.0?

@jakobbotsch
Copy link
Member Author

@jakobbotsch are we going to backport this to 7.0?

Yes, I will backport this one.

@jakobbotsch jakobbotsch merged commit f21cf52 into dotnet:main Aug 29, 2022
@jakobbotsch
Copy link
Member Author

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/2947516086

@jakobbotsch jakobbotsch deleted the fix-64-bit-delegate-profiling branch August 29, 2022 10:27
@ghost ghost locked as resolved and limited conversation to collaborators Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR 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.

F# compiler crashes with DOTNET_TieredPGO=1
4 participants