* [clr-interp] Add support for virtual calls (including interface)
This follows a trivial approach where we resolve the MethodDesc of the target method by reusing existing functionality. Long term, virtual dispatching should go through slots continaing interpreter IR code pointer, in a similar fashion to JIT.
* Add test for virtual method dispatch
* Disable test for now
No gc support yet
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690019
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690137
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690137
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690605
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690658
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2690658
* Update dependencies from https://github.com/dotnet/roslyn build 20250416.17
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 5.0.0-1.25214.5 -> To Version 5.0.0-1.25216.17
* Update dependencies from https://github.com/dotnet/roslyn build 20250418.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 5.0.0-1.25214.5 -> To Version 5.0.0-1.25218.9
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Microsoft.SourceBuild.Intermediate.command-line-api , System.CommandLine
From Version 0.1.620801 -> To Version 0.1.621801
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Change from using the "big exponent" key to some other key (which uses the normal exponent of F5), as not all versions of Android like big exponent keys.
* Update dependencies from https://github.com/dotnet/icu build 20250302.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.3.25152.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250303.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25153.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250303.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25153.1
* Update dependencies from https://github.com/dotnet/sdk build 20250309.6
Microsoft.DotNet.ApiCompat.Task
From Version 10.0.100-preview.3.25126.5 -> To Version 10.0.100-preview.3.25159.6
* Update dependencies from https://github.com/dotnet/cecil build 20250302.2
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.5-alpha.25125.1 -> To Version 0.11.5-alpha.25152.2
* Update dependencies from https://github.com/dotnet/icu build 20250309.2
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.3.25159.2
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250310.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25160.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250310.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25160.1
* Update dependencies from https://github.com/dotnet/runtime build 20250316.3
Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Reflection.Metadata , System.Reflection.MetadataLoadContext , System.Text.Json , Microsoft.SourceBuild.Intermediate.runtime.linux-x64
From Version 10.0.0-preview.3.25152.4 -> To Version 10.0.0-preview.3.25166.3
* Update dependencies from https://github.com/dotnet/icu build 20250317.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25167.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250317.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25167.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250317.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25167.1
* Update dependencies from https://github.com/dotnet/source-build-externals build 20250318.1
Microsoft.SourceBuild.Intermediate.source-build-externals
From Version 10.0.607901 -> To Version 10.0.616801
* Update dependencies from https://github.com/dotnet/runtime build 20250323.3
Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Reflection.Metadata , System.Reflection.MetadataLoadContext , System.Text.Json , Microsoft.SourceBuild.Intermediate.runtime.linux-x64
From Version 10.0.0-preview.3.25152.4 -> To Version 10.0.0-preview.4.25173.3
* Update dependencies from https://github.com/dotnet/icu build 20250323.2
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25173.2
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250324.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25174.1
* Update dependencies from https://github.com/dotnet/icu build 20250325.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25175.1
* Update MicrosoftDotNetApiCompatTaskVersion in Versions.props
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250324.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25174.1
* Update dependencies from https://github.com/dotnet/source-build-externals build 20250325.1
Microsoft.SourceBuild.Intermediate.source-build-externals
From Version 10.0.607901 -> To Version 10.0.617501
* Update dependencies from https://github.com/dotnet/runtime build 20250330.1
Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Reflection.Metadata , System.Reflection.MetadataLoadContext , System.Text.Json , Microsoft.SourceBuild.Intermediate.runtime.linux-x64
From Version 10.0.0-preview.3.25152.4 -> To Version 10.0.0-preview.4.25180.1
* Update dependencies from https://github.com/dotnet/icu build 20250330.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25180.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250331.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25181.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250403.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25203.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250331.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25181.1
* Update dependencies from https://github.com/dotnet/cecil build 20250316.4
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.5-alpha.25125.1 -> To Version 0.11.5-alpha.25166.4
* Update dependencies from https://github.com/dotnet/icu build 20250406.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25206.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250407.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25207.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250411.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25211.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250407.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 10.0.0-alpha.0.25126.1 -> To Version 10.0.0-alpha.0.25207.1
* Update dependencies from https://github.com/dotnet/runtime build 20250411.19
Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Reflection.Metadata , System.Reflection.MetadataLoadContext , System.Text.Json , Microsoft.SourceBuild.Intermediate.runtime.linux-x64
From Version 10.0.0-preview.3.25152.4 -> To Version 10.0.0-preview.4.25211.19
* Update dependencies from https://github.com/dotnet/sdk build 20250411.22
Microsoft.DotNet.ApiCompat.Task , Microsoft.NET.Workload.Emscripten.Current.Manifest-10.0.100.Transport
From Version 10.0.100-preview.3.25173.9 -> To Version 10.0.100-preview.4.25211.22
* Update dependencies from https://github.com/dotnet/icu build 20250414.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 10.0.0-preview.3.25125.1 -> To Version 10.0.0-preview.4.25214.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250414.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25214.1
* Failed to perform coherency update for one or more dependencies.
* Update dependencies from https://github.com/dotnet/runtime-assets build 20250415.1
Microsoft.DotNet.CilStrip.Sources , Microsoft.NET.HostModel.TestData , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 10.0.0-beta.25126.1 -> To Version 10.0.0-beta.25215.1
* Remove CoherentParentDependency for now, will add it back after flat flow switch
* Fix wrong merge
* Fix EmsdkPackageVersion
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
* Remove test project dir in trimmingTests.targets
Should help with the out of disk space errors we've been seeing in the dotnet-linker-tests pipeline.
* Improve test project cleanup logic
* Fix comment
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 10.0.0-prerelease.25211.1 -> To Version 10.0.0-prerelease.25214.3
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
* Remove `.Result` calls in async tests failing in wasm.
* Uncomment the async tests for the latest bug fixes, make sure they count the Async write calls, not the sync ones, and add the rest of the async methods.
* Revert skip on wasm platform
* Modify NoSyncCallsStream to throw also on BeginRead, EndRead, BeginWrite and EndWrite.
* Remove .Result from ZipTestHelper methods and propagate proper async usage.
* spacing
* Simplify object[] enumerables returning lists of ints.
* [RISC-V] Move lower 11 bits of indirection address to load / store offset
* [RISC-V] Move all lower 12-bits to offset
Co-authored-by: Tomasz Sowiński <tomeksowi@gmail.com>
---------
Co-authored-by: Tomasz Sowiński <tomeksowi@gmail.com>
Co-authored-by: Bruce Forstall <brucefo@microsoft.com>
Microsoft.CodeAnalysis.NetAnalyzers
From Version 10.0.0-preview.25215.1 -> To Version 10.0.0-preview.25217.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Add some measurements for simdhash ght
Introduce scan data that's fetched once per bucket
Targeted simdhash optimizations via new dn_simdhash_ght_get_value_or_default
Switch to spaced prime bucket counts instead of power of two bucket counts for better collision resistance
Fix cache alignment of ght compatible and ptr ptr simdhash variants on 64-bit
Higher simdhash load factor (closer to ghashtable's; improves performance for bad hashes)
Add sequential keys measurements
Increase load factor to 30%
After the recent VS upgrade from 17.12.5 to 17.13.2 we started seeing access violations in the mono-aot-cross.exe when targetting wasm.
We tracked it down to sgen_clz being miscompiled, we can workaround the compiler bug by switching from ternary condition to if/else.
Added new public async APIs for System.IO.Compression and System.IO.Compression.ZipFile.
Modified existing unit tests to validate both sync and async depending on an async argument.
Added fuzzing tests for ZipArchive.
Added new tests to confirm that no sync API is calling async APIs internally and viceversa.
* Intrinsify integer min/max
* Implement integer min/max
* Cleanup assert
* Fix windows build
* Add tests
* Different VNFunc for unsigned
* Min/Max is commutative
* Different intrinsic name for unsigned
- Use different copies (library names) for p/invokes in the `DllImportSearchPathTests` so that we don't end up using the runtime cached of loaded unmanaged libraries
- Add a test for default search flags
this is to make regions behave very similarly to segments for heavily pinning scenarios. previously we observed regression in heap size due to regions not being aggressively demoted. changes included in this PR -
+ use the same policy for demotion of pinned plugs as much as possible for regions. since objects in a region can only belong to one generation, for pins observed skip_pins_in_alloc_region they will not use the same policy as they must belong to what's already allocated in that region. this policy is only applicable for regions with only pins left.
+ attribute the pins to the higher generation's generation_allocation_size when appropriate.
+ update data for events correctly for these pins.
with these changes I'm seeing a heavily pinned scenario be able to keep the heap size much lower and basically stable, vs without fix it goes up steadily. there can be some regression in % time in GC by design since we now leave more pins in gen0 which increases the amount of survived memory gen0 has to process.
* use `printfAlloc` in a few places
* move escape-analysis specific layout code to objectalloc.cpp
* use custom layout for stack allocated boxes
* use layout a bit more broadly in objectalloc.cpp