Skip to content

SPMI with JitNoInline=1 asserts in instrumentation code #74718

Closed
@SingleAccretion

Description

@SingleAccretion

Reproduction: run an SPMI replay of the aspnet collection with -jitoption JitNoInline=1.

Expected result: clean replay.

Actual result:

ISSUE: <ASSERT> #1 C:\Users\Accretion\source\dotnet\runtime\src\coreclr\jit\fgprofile.cpp (1709)
Assertion failed 'reinterpret_cast<uint8_t*>(h32->HandleTable) == &m_profileMemory[tableEntry.Offset]'
in 'LoggingConfiguration:Close():this' during 'Profile instrumentation'
(IL size 112; hash 0xe34aa6a7; Instrumented Tier1-OSR)

Preceded by a number of ERROR: AllocPgoInstrumentationBySchema mismatch.

JitNoInline can be a nice setting to verify changes "modulo inlining", it would be nice to keep it assert-free.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions