Repository navigation
Comparing changes
Open a pull request
base repository: dotnet/runtime
base: ebcd3323
head repository: dotnet/runtime
compare: 56fcb743
- 20 commits
- 85 files changed
- 20 contributors
Commits on Feb 7, 2022
-
Move one more 20H2 queue to server 2022 (#64919)
* Move one more 20H2 queue to server 2022 Fix one more instance not covered by #64827. This should fix the same failure in runtime-extra-platforms. * Update IsIcuCompatiblePlatform
Configuration menu - View commit details
-
Copy full SHA for 26c7d7d - Browse repository at this point
Copy the full SHA 26c7d7dView commit details -
62606 Return fully qualified path from FileSystemEventArgs (#63051)
* FullPath property now returns fully qualified path Gets the fully qualified path after combining the directory and name part as per the thread discussion. Also added and updated tests for the new change. Fix #62606 * OldFullPath returns fully qualified path To be consistent with new behavior of FullPath from FileSystemEventArgs same change was applied for RenamedEventArgs including updated tests. Fix #62606 * Marked some test cases as Windows OS specific In the context of using an actual full path which can vary on Unix vs Windows Fix #62606 * Using Path.Join instead of the custom Combine Adjusted unit tests to match the new logic. Fix #62606 * Account for corner case when fullPath matches root The previous buggy implementation of RenamedEventArgs produced a convenient side-effect for PhysicalFilesWatcher. Without the trailing slash adde by RenamedEventArgs the root was longer than the fullPath by a trailing slash. Fix #62606 * Handle relative paths from CWD in given drive Fix #62606 * Clearly separated unix and windows test cases Implemented most of the code review suggestions. Fix #62606 * Use EnsureTrailingSeparator instead of custom code Also made unit tests more focused by removing needless asserts from the tests Fix #62606 * Keeping the old behavior with trailing separator Reverted the changes to PhysicalFilesWatcher and added back the trailing separator behavior as per code review suggestion Fix #62606 * Used Path.Combien vs PathInternalEnsureSeparator As per code review suggestions. Fix #62606 * Added blank line for readability Pipeline retrigger. Some pipelines timed out, most probably transient issues. Fix #62606
Configuration menu - View commit details
-
Copy full SHA for 2a1b15d - Browse repository at this point
Copy the full SHA 2a1b15dView commit details -
vtable setup fix for generic default interface methods in mono runtime (
#64102) * vtable setup fix for generic default interface methods in mono runtime When processing the overrides from interface default methods we should check if the interface class is a generic type definition first and inflate with the interface class context. Test case included. * Update test to ensure that the correct context is used
Configuration menu - View commit details
-
Copy full SHA for 3e4acf4 - Browse repository at this point
Copy the full SHA 3e4acf4View commit details -
Console.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SI…
…GCONT. (#64200) The introduction of the managed API for signal handling (PosixSignal) inadvertently caused terminal configuration to no longer be performed when no managed handlers are registered. This adds back the unconditional registration for SIGINT/SIGQUIT/SIGCONT. The missing registrations can cause the terminal to stop echoing when an application terminates on Ctrl-C.
Configuration menu - View commit details
-
Copy full SHA for e9a7a3f - Browse repository at this point
Copy the full SHA e9a7a3fView commit details -
[main] Update dependencies from 8 repositories (#64806)
* Update dependencies from https://github.com/dotnet/arcade build 20220203.1 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk From Version 2.5.1-beta.22080.1 -> To Version 2.5.1-beta.22103.1 * Update dependencies from https://github.com/dotnet/xharness build 20220204.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22101.2 -> To Version 1.0.0-prerelease.22104.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220203.2 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.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 7.0.0-beta.22075.1 -> To Version 7.0.0-beta.22103.2 * Update dependencies from https://github.com/dotnet/emsdk build 20220203.4 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-alpha.2.22102.3 -> To Version 7.0.0-alpha.2.22103.4 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220203.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.2-alpha.0.22081.2 -> To Version 1.0.2-alpha.0.22103.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220203.3 runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 11.1.0-alpha.1.22081.2 -> To Version 11.1.0-alpha.1.22103.3 * Update dependencies from https://github.com/dotnet/icu build 20220203.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-preview.2.22101.1 -> To Version 7.0.0-preview.2.22103.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220204.1 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-alpha.2.22102.3 -> To Version 7.0.0-alpha.2.22104.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220204.2 runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.11.0-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter From Version 1.0.0-alpha.1.22073.1 -> To Version 1.0.0-alpha.1.22104.2 * Update dependencies from https://github.com/dotnet/runtime build 20220203.2 Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.App.Runtime.win-x64 , System.Runtime.CompilerServices.Unsafe , runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , System.Text.Json From Version 7.0.0-preview.2.22080.2 -> To Version 7.0.0-preview.2.22103.2 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Přemek Vysoký <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c8e496 - Browse repository at this point
Copy the full SHA 3c8e496View commit details -
Configuration menu - View commit details
-
Copy full SHA for c07e3c6 - Browse repository at this point
Copy the full SHA c07e3c6View commit details -
Streamline bool.TryParse/Format (#64782)
* Streamline bool.TryParse/Format * Factor out the failure path and add length checks
Configuration menu - View commit details
-
Copy full SHA for d2e5183 - Browse repository at this point
Copy the full SHA d2e5183View commit details -
Add S.S.C.Cose with COSE Sign1 support (#64461)
* Add S.S.C.Cose * Override Equals in CoseHeaderLabel * Add SystemFormatsCborVersion to eng/Versions.props * Address PR feedback * Remove commented Debugger.Launch from test * Src: * Support signing with empty header maps * Add HashAlgorithmName argument to the granular APIs Tests: * Make crypto keys ThreadStatic to avoid race conditions * Exclude CoseMessage and CoseSign1Message from browser * Define DefaultKey and DefaultHash to simplify tests * Overall clean-up * Use explicit type instead of var * Tests: Add logic to verify expected headers * Do not mutate the protectected map when alg header was not specified * src: Address suggestions * tests: * Fix ThreadStatic properties * Switch from SkipOnPlatformAttribute to IgnoreForCI in csproj * src: Address style suggestions * Use ProjectRef instead of PackageRef * RequiresPreviewFeaturesAttribute must be internal in non-netcoreapp * Address feedback on CoseHeaderLabel * src: use RequiresPreviewFeatures as assembly level attribute tests: add test project to exclusion list of local browser runs
Configuration menu - View commit details
-
Copy full SHA for cf3aeb1 - Browse repository at this point
Copy the full SHA cf3aeb1View commit details -
[Group 2] Enable nullable annotations for `Microsoft.Extensions.Cachi…
…ng.Abstractions` (#64018) * Annotate things * EvictionCallback is nullable
Configuration menu - View commit details
-
Copy full SHA for c003339 - Browse repository at this point
Copy the full SHA c003339View commit details -
Preserve existing keys in dictionary (#63834)
* Binding to dictionary doesn't preserve existing keys of origin dictionary * Attempt to bind existing instance if it is not null * Remove redundant if-else statement * Add test for binding to dictionary with enum as key type * Don't use var unless it is obvious from the right hand side Co-authored-by: Eric Erhardt <[email protected]> * Explicitly ignore result Co-authored-by: Eric Erhardt <[email protected]> Co-authored-by: Eric Erhardt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c70e282 - Browse repository at this point
Copy the full SHA c70e282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f1ac5 - Browse repository at this point
Copy the full SHA 48f1ac5View commit details
Commits on Feb 8, 2022
-
Remove spin lock from SocketAsyncEventArgs on Windows (#64770)
* Remove spin lock from SocketAsyncEventArgs on Windows The Windows implementation of SocketAsyncEventArgs has a spin lock to help coordinate between the thread initiating the Winsock operation and the eventual overlapped completion callback. There are some operations we delay (e.g. registering for cancellation) until after the operation has already been initiated and shown to complete asynchronously rather than synchronously, and as these are being set up after the Winsock call to perform the socket operation, it's possible for the overlapped completion to happen before or while we do that additional cleanup. This condition was expected to be rare, and a spin lock is used to ensure that if the race condition does occur, the callback waits for the state set up to be complete before continuing. However, it turns out for certain operations it's actually not that rare. In particular, it appears that accepts when there's already a pending connection end up frequently completing asynchronously but immediately, which causes this race condition to manifest, and we've seen the spin lock spin so many times that it falls back to an actual sleep that causes unexpected delays. We can instead just maintain a simple gate that describes whether the launching thread or the callback thread own completion. The launcher sets up all the state and then tries to transition to set the gate. Similarly, the first thing the callback does is set the gate (to a packed result in case the launcher needs it). Whoever gets there second is responsible for handling completion. If the launching thread is the one that gets there second, it essentially turns the asynchronous operation into a synchronous one, from the perspective of the caller, just as if the operation had completed synchronously. * Avoid an Interlocked.Exchange in the common case
Configuration menu - View commit details
-
Copy full SHA for 1b34163 - Browse repository at this point
Copy the full SHA 1b34163View commit details -
[main] Update dependencies from dotnet/linker (#64848)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8c30c33 - Browse repository at this point
Copy the full SHA 8c30c33View commit details -
Fix SymbolixRegexRunner handling of "beginning" (#64946)
The Runner's Go implementation is loading the `runtext` but ignoring `runtextbeg`. If a non-0 beginning were passed in, the matcher could end up evaluating beginning anchors incorrectly, as it always considers beginning == 0. This fixes that by slicing the input to ensure the matcher is always called with a span representing the full beginning-end length, such that it's beginning==0 assumption is true.
Configuration menu - View commit details
-
Copy full SHA for 8ee59f4 - Browse repository at this point
Copy the full SHA 8ee59f4View commit details -
NativeAOT ARM64 libraries testing (#64373)
Enable ARM64 libraries testing for NativeAOT. * Copy the crosstargeting build approach from crossgen2. We'll now build two ILC compilers when targeting ARM64 from x64: an arm64-hosted one that is useless on the build machine, and a x64-hosted one, that will work on the build machine. The `ILCompiler.csproj/props/_crossarch.csproj` projects mirror crossgen's approach. * Limit the number of libraries tests to one. Hopefully it avoids the build races that we'd see until we can update the repo build to .NET 7 Preview 1. * Create an ARM64 NativeAOT CI leg that sends the libraries tests to Helix to run.
Configuration menu - View commit details
-
Copy full SHA for b11469f - Browse repository at this point
Copy the full SHA b11469fView commit details -
Local heap optimizations on Arm64 (#64481)
# Local heap optimizations on Arm64 1. When not required to zero the allocated space for local heap (for sizes up to 64 bytes) - do not emit zeroing sequence. Instead do stack probing and adjust stack pointer: ```diff - stp xzr, xzr, [sp,#-16]! - stp xzr, xzr, [sp,#-16]! - stp xzr, xzr, [sp,#-16]! - stp xzr, xzr, [sp,#-16]! + ldr wzr, [sp],#-64 ``` 2. For sizes less than one `PAGE_SIZE` use `ldr wzr, [sp], #-amount` that does probing at `[sp]` and allocates the space at the same time. This saves one instruction for such local heap allocations: ```diff - ldr wzr, [sp] - sub sp, sp, #208 + ldr wzr, [sp],#-208 ``` Use `ldp tmpReg, xzr, [sp], #-amount` when the offset not encodable by post-index variant of `ldr`: ```diff - ldr wzr, [sp] - sub sp, sp, #512 + ldp x0, xzr, [sp],#-512 ``` 3. Allow non-loop zeroing (i.e. unrolled sequence) for sizes up to 128 bytes (i.e. up to `LCLHEAP_UNROLL_LIMIT`). This frees up two internal integer registers for such cases: ```diff - mov w11, #128 - ;; bbWeight=0.50 PerfScore 0.25 -G_M44913_IG19: ; gcrefRegs=00F9 {x0 x3 x4 x5 x6 x7}, byrefRegs=0000 {}, byref, isz stp xzr, xzr, [sp,#-16]! - subs x11, x11, #16 - bne G_M44913_IG19 + stp xzr, xzr, [sp,#-112]! + stp xzr, xzr, [sp,#16] + stp xzr, xzr, [sp,#32] + stp xzr, xzr, [sp,#48] + stp xzr, xzr, [sp,#64] + stp xzr, xzr, [sp,#80] + stp xzr, xzr, [sp,#96] ``` 4. Do zeroing in ascending order of the effective address: ```diff - mov w7, #96 -G_M49279_IG13: stp xzr, xzr, [sp,#-16]! - subs x7, x7, #16 - bne G_M49279_IG13 + stp xzr, xzr, [sp,#-80]! + stp xzr, xzr, [sp,#16] + stp xzr, xzr, [sp,#32] + stp xzr, xzr, [sp,#48] + stp xzr, xzr, [sp,#64] ``` In the example, the zeroing is done at `[initialSp-16], [initialSp-96], [initialSp-80], [initialSp-64], [initialSp-48], [initialSp-32]` addresses. The idea here is to allow a CPU to detect the sequential `memset` to `0` pattern and switch into write streaming mode.
Configuration menu - View commit details
-
Copy full SHA for 012278b - Browse repository at this point
Copy the full SHA 012278bView commit details -
Improve SSL platform detection (#64923)
* CI matrix change: add Windows Server 2022 * Add registry check for ssl3 - tls1.2 tests * Disable TLS1.3 on framework code * Fix typo * revert queue change Co-authored-by: Jan Jahoda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73a075e - Browse repository at this point
Copy the full SHA 73a075eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af42c8e - Browse repository at this point
Copy the full SHA af42c8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c662b1 - Browse repository at this point
Copy the full SHA 4c662b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56fcb74 - Browse repository at this point
Copy the full SHA 56fcb74View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ebcd3323...56fcb743