Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Fixes #112334

JITStress_Random was picking JITStress values that forced at least one call of AllocateInstances to be inlined.

Never allow it to be inlined to avoid having lifetime extension issues that cause failures (and later asserts).

Copilot AI review requested due to automatic review settings April 14, 2025 18:59
@ghost ghost added the area-Interop-coreclr label Apr 14, 2025
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 reviewed 1 out of 1 changed files in this pull request and generated no comments.

@jkoritzinsky jkoritzinsky added the test-bug Problem in test source code (most likely) label Apr 14, 2025
@dotnet-policy-service
Copy link
Contributor

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

Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

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

Thanks.

@jkoritzinsky jkoritzinsky merged commit ed3081f into dotnet:main Apr 14, 2025
75 of 77 checks passed
@jkoritzinsky jkoritzinsky deleted the lifetime-outline branch April 14, 2025 22:00
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Interop-coreclr test-bug Problem in test source code (most likely)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: Interop/COM/NETClients/Lifetime/NETClientLifetime/NETClientLifetime.cmd

2 participants