Skip to content

OSR stress failure in System.Diagnostics.DiagnosticsSource.Tests #67078

@AndyAyersMS

Description

@AndyAyersMS

From libraries pgo CI job: https://dev.azure.com/dnceng/public/_test/analytics?definitionId=1002&contextType=build

;; x64 windows

set COMPlus_JitRandomOnStackReplacement=15
set COMPlus_OSR_HitLimit=2
set COMPlus_TC_OnStackReplacement=1
set COMPlus_TC_OnStackReplacement_InitialCounter=1
set COMPlus_TC_QuickJitForLoops=1
set COMPlus_TieredCompilation=1

  Starting:    System.Diagnostics.DiagnosticSource.Tests (parallel test collections = on, max threads = 12)
    System.Diagnostics.Metrics.Tests.AggregationStoreTests.GetOneLabel [FAIL]
      Assert.Equal() Failure
      Expected: LastValue { }
      Actual:   LastValue { }
      Stack Trace:
        C:\repos\runtime0\src\libraries\System.Diagnostics.DiagnosticSource\tests\AggregationManagerTests.cs(48,0): at System.Diagnostics.Metrics.Tests.AggregationStoreTests.GetOneLabel()

Have isolated this via COMPlus_JitEnablePatchpointRange to this method:

System.Diagnostics.Metrics.LabelInstructionInterpretter`2[ObjectSequence1,__Canon][System.Diagnostics.Metrics.ObjectSequence1,System.__Canon]::GetAggregator, IL size = 255, hash=0xfe17726d Tier1-OSR @0xaa

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions