Skip to content

Speed up virtual method resolution in the compiler - #130405

Merged
MichalStrehovsky merged 3 commits into
dotnet:mainfrom
MichalStrehovsky:fasterresolve
Jul 14, 2026
Merged

Speed up virtual method resolution in the compiler#130405
MichalStrehovsky merged 3 commits into
dotnet:mainfrom
MichalStrehovsky:fasterresolve

Faster virtual method resolution

5492e20
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime-coreclr crossgen2-composite failed Jul 10, 2026 in 2h 43m 38s

Build #20260709.1 had test failures

Details

Tests

  • Failed: 4 (0.01%)
  • Passed: 40,653 (97.08%)
  • Other: 1,217 (2.91%)
  • Total: 41,874

Annotations

Check failure on line 1 in GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr crossgen2-composite

GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

Return code:      1
Raw output file:      C:hwA25E08F6wA4F20954uploadsAPIGCGetConfigurationVariablesoutput.txt
Raw output:
BEGIN EXECUTION
GetConfigurationVariables.dll
TestLibrary.dll
        2 file(s) copied.
22:51:50.54
Response file: C:hwA25E08F6wA4F20954eGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp
C:hwA25E08F6wA4F20954eGCAPIGCGetConfigurationVariablesIL-CG2*.dll
-O
-o:C:hwA25E08F6wA4F20954eGCAPIGCGetConfigurationVariables\composite-r2r.dll
--targetarch:x86
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwA25E08F6pSystem.*.dll
-r:C:hwA25E08F6pMicrosoft.*.dll
-r:C:hwA25E08F6p\xunit.*.dll
-r:C:hwA25E08F6pmscorlib.dll
-r:C:hwA25E08F6p
etstandard.dll
"Running CrossGen2:  "C:hwA25E08F6pcrossgen2crossgen2.exe" @"C:hwA25E08F6wA4F20954eGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp"   --composite   --composite "
22:51:50.57
Crossgen2 failed with exitcode - -1
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwA25E08F6wA4F20954eGCGC../API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 117
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor29|0_30(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Check failure on line 1 in GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr crossgen2-composite

GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

Return code:      1
Raw output file:      C:hwAA9D092EwB9540A0AuploadsAPIGCGetConfigurationVariablesoutput.txt
Raw output:
BEGIN EXECUTION
GetConfigurationVariables.dll
TestLibrary.dll
        2 file(s) copied.
 0:11:07.32
Response file: C:hwAA9D092EwB9540A0AeGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp
C:hwAA9D092EwB9540A0AeGCAPIGCGetConfigurationVariablesIL-CG2*.dll
-O
-o:C:hwAA9D092EwB9540A0AeGCAPIGCGetConfigurationVariables\composite-r2r.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAA9D092EpSystem.*.dll
-r:C:hwAA9D092EpMicrosoft.*.dll
-r:C:hwAA9D092Ep\xunit.*.dll
-r:C:hwAA9D092Epmscorlib.dll
-r:C:hwAA9D092Ep
etstandard.dll
"Running CrossGen2:  "C:hwAA9D092Epcrossgen2crossgen2.exe" @"C:hwAA9D092EwB9540A0AeGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp"   --inputbubble --composite   --inputbubble --composite "
 0:11:07.35
Crossgen2 failed with exitcode - -1
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwAA9D092EwB9540A0AeGCGC../API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor29|0_30(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Check failure on line 1 in GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr crossgen2-composite

GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

Return code:      1
Raw output file:      C:hwC29409FCwAA790932uploadsAPIGCGetConfigurationVariablesoutput.txt
Raw output:
BEGIN EXECUTION
GetConfigurationVariables.dll
TestLibrary.dll
        2 file(s) copied.
 0:14:05.00
Response file: C:hwC29409FCwAA790932eGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp
C:hwC29409FCwAA790932eGCAPIGCGetConfigurationVariablesIL-CG2*.dll
-O
-o:C:hwC29409FCwAA790932eGCAPIGCGetConfigurationVariables\composite-r2r.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwC29409FCpSystem.*.dll
-r:C:hwC29409FCpMicrosoft.*.dll
-r:C:hwC29409FCp\xunit.*.dll
-r:C:hwC29409FCpmscorlib.dll
-r:C:hwC29409FCp
etstandard.dll
"Running CrossGen2:  "C:hwC29409FCpcrossgen2crossgen2.exe" @"C:hwC29409FCwAA790932eGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp"   --composite   --composite "
 0:14:05.03
Crossgen2 failed with exitcode - -1
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwC29409FCwAA790932eGCGC../API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor29|0_30(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Check failure on line 1 in GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr crossgen2-composite

GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd

Return code:      1
Raw output file:      C:hwA9000998wBFD20A6DuploadsAPIGCGetConfigurationVariablesoutput.txt
Raw output:
BEGIN EXECUTION
GetConfigurationVariables.dll
TestLibrary.dll
        2 file(s) copied.
23:28:24.98
Response file: C:hwA9000998wBFD20A6DeGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp
C:hwA9000998wBFD20A6DeGCAPIGCGetConfigurationVariablesIL-CG2*.dll
-O
-o:C:hwA9000998wBFD20A6DeGCAPIGCGetConfigurationVariables\composite-r2r.dll
--targetarch:arm64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwA9000998pSystem.*.dll
-r:C:hwA9000998pMicrosoft.*.dll
-r:C:hwA9000998p\xunit.*.dll
-r:C:hwA9000998pmscorlib.dll
-r:C:hwA9000998p
etstandard.dll
"Running CrossGen2:  "C:hwA9000998pcrossgen2crossgen2.exe" @"C:hwA9000998wBFD20A6DeGCAPIGCGetConfigurationVariables\composite-r2r.dll.rsp"   --composite   --composite "
23:28:25.02
Crossgen2 failed with exitcode - -1
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwA9000998wBFD20A6DeGCGC../API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor29|0_30(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)