Skip to content

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jan 2, 2024

Fixes #94189

@ghost ghost assigned jkotas Jan 2, 2024
Assert.True(afterCompilationTime >= beforeCompilationTime, $"CompilationTime: after not greater than before! (after: {afterCompilationTime}, before: {beforeCompilationTime})");
Assert.True(afterCompiledILBytes >= beforeCompiledILBytes, $"Compiled IL bytes: after not greater than before! (after: {afterCompiledILBytes}, before: {beforeCompiledILBytes})");
Assert.True(afterCompiledMethodCount >= beforeCompiledMethodCount, $"Compiled method count: after not greater than before! (after: {afterCompiledMethodCount}, before: {beforeCompiledMethodCount})");
// JitInfo metrics may be 0 in AOT scenarios
Copy link
Member Author

Choose a reason for hiding this comment

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

We need to allow for all static code to be precompiled with ReadyToRun or MonoAOT.

@jkotas jkotas requested a review from ivdiazsa January 2, 2024 22:40
@jkotas
Copy link
Member Author

jkotas commented Jan 2, 2024

/azp run runtime-coreclr crossgen2

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@ivdiazsa ivdiazsa left a comment

Choose a reason for hiding this comment

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

Just checked the failing pipelines and those are unrelated to these changes. Thanks a lot for fixing this Jan!

@ivdiazsa ivdiazsa merged commit 2242665 into dotnet:main Jan 4, 2024
@jkotas jkotas deleted the issue-94189 branch January 23, 2024 02:03
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2024
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.

TypeTests.Get, JitInfoTests, and EnumTests Fail with TestReadyToRun

2 participants