- 31 3月, 2022 8 次提交
-
-
由 Ankit Jain 提交于
* perf: wasm: Collect helix logs, and artifacts when the build fails This will be helpful in debugging build issues, and random crashes that we have been seeing on helix. * Fix misplaced double quote * perf: Use '--run-isolated' with wasm projects
-
由 Bruce Forstall 提交于
* Fix SuperPMI implementation of `appendClassName` Change #67135 added more and different calls to `appendClassName`, exposing that it was not correctly implemented in SuperPMI. Fix this, especially, to handle the case of passing a zero length to determine the correct size output buffer. Also, add `eeTryGetClassSize` to wrap `getClassSize` and use it in two cases in the importer that only use the output in JitDump, but was preventing a clean JitDump replay of some collections. Change the JIT-EE GUID because the SuperPMI collection data structures were changed. * Update semantics of `appendClassName` API Document the semantics more clearly. Update EE and crossgen2 to conform to the same semantics. Notable changes: 1. ppBuf argument is allowed to be nullptr, if `*pnBufLen` is zero. 2. If `*pnBufLen` is greater than zero, `*ppBuf` and `*pnBufLen` are advanced by the number of characters actually written rather than the number in the full class name string. This will differ in the case of truncation due to a small output buffer. The advance does not include the null terminator. Thus, `*ppBuf` will point at the null terminator on return, and `*pnBufLen` will be at least `1`. 3. The EE will copy as much as possible (i.e., will truncate if necessary), rather than crashing on a too-small output buffer. 4. Crossgen2 now advances `*ppBuf` and `*pnBufLen` as noted above. 5. SuperPMI implements these new semantics. * Fix non-Windows build Set `JIT_BUILD` when building SuperPMI. This disables contracts and some PAL debugging, including the debugreturn.h debugging that was causing a build break. Also, adjust a couple loops based on code review feedback.
-
由 Andy Ayers 提交于
Change these default values when the jit targets x64 or arm64: * COMPlus_TC_QuickJitForLoops=1 * COMPlus_TC_OnStackReplacement=1 The upshot is that on x64/arm64 more methods will be jitted at Tier0, and we will rely on OSR to get out of long-running Tier0 methods. Other architectures continue to use the old behavior for now, as OSR is not yet supported for x86 or arm.
-
由 Jakob Botsch Nielsen 提交于
-
由 Tarek Mahmoud Sayed 提交于
-
由 Kevin Jones 提交于
-
由 Ilona Tomkowicz 提交于
Add sorting by access level in ValueType + check if index exists before accessing element.
-
由 Levi Broderick 提交于
Addresses CodeQL rule cpp/hresult-boolean-conversion
-
- 30 3月, 2022 24 次提交
-
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/xharness build 20220330.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22178.1 -> To Version 1.0.0-prerelease.22180.1 * Update dependencies from https://github.com/dotnet/arcade build 20220329.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.22171.2 -> To Version 2.5.1-beta.22179.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220329.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.22177.1 -> To Version 7.0.0-beta.22179.2 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Eirik Tsarpalis 提交于
-
由 dotnet bot 提交于
* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683074 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683308 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683442 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683560 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683893 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683991 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684448 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684571 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684919 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685160 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685380 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685824 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1686332 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1686932 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687139 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687242 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687551 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687851 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1688205 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1688723 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689101 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689361 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689678 * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689955 * Commit updated .xlf files Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 Radek Zikmund 提交于
* Improve exception thrown when constructing SslCertificateTrust * Remove UnsupportedOSPlatform annotation * fixup! Remove UnsupportedOSPlatform annotation * Update ApiCompatBaseline
-
由 Stephen Toub 提交于
-
由 Radek Zikmund 提交于
* Use shared SocketAddress code in QUIC * Code review feedback * Disable broken tests * Rename file
-
由 Jakob Botsch Nielsen 提交于
-
由 SingleAccretion 提交于
* Do not create TYP_STRUCT LCL_FLD * Fix regressions This is also a correctness fix. Missing adding zero-offset field sequences is fatal. * More fixes for regressions Types of location nodes do not matter, the underlying locations do. * Add a comment
-
由 Ilona Tomkowicz 提交于
* Removed a dedicated StructGetter class. * Used DerivedClass in protection level tests + fixed InvokeMethod + reverted StructureGetters removal. * Exchange ElementType in DotnetObjectId for bool. * Applied @radical's suggestion to log whole call stack instead of message. * Applied @lewing's suggestions. * Merge errors fixed.
-
由 Jeremy Koritzinsky 提交于
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/linker build 20220324.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22173.2 -> To Version 7.0.100-1.22174.1 * Update dependencies from https://github.com/dotnet/linker build 20220328.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22173.2 -> To Version 7.0.100-1.22178.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Jan Kotas 提交于
-
由 Tomas Weinfurt 提交于
-
由 Stephen Toub 提交于
The implementation has a comment about how ConditionalWeakTable prevents multiple threads from racing to create readers, but CWT doesn't invole the delegate under its lock. So multiple threads can actually race to create a reader, and if one loses, it won't Dispose the reader it created. On top of this, every call to TryGetReader is allocating a closure, even if one of the fast paths is hit, because the cache callback captures all the parameters.
-
由 Radek Doulik 提交于
Unset PYTHONHOME environment variable. We don't use emsdk.bat, which unsets PYTHONHOME and PYTHONPATH variables to not clash with emscripten python. So we should make sure the PYTHONHOME and PYTHONPATH are not pointing to other python locations. Together with previous PYTHONPATH [change](https://github.com/dotnet/runtime/pull/63894/commits/d9b8aefcbf0efc4692c9ca46b323efcf86bda961) it should fix https://github.com/dotnet/runtime/issues/65859
-
由 Radek Zikmund 提交于
Fixes #59345
-
由 Andy Ayers 提交于
Fix two cases where small enregisterable locals can't be saved to the stack using actual (widened) types: * small memory args for OSX ARM64 * promoted fields of OSR locals Closes #67152. Closes #67188.
-
由 Pavel Savara 提交于
* - treat jsHandle and gcHandle as IntPtr on C# icall definition - removed IJSObject, HostObject, CoreObject empty private classes - removed Float32Array, Float64Array, Int8Array, Int16Array, Int32Array, Uint16Array, Uint32Array, Uint8ClampedArray, SharedArrayBuffer, Map unused private classes and their tests - moved Length property to Array and TypedArray types - removed unused eventListener helpers and it's tests - added Module.stackSave, Module.stackRestore, Module.stackAlloc imports - fixed promise reject signature - fixed cwrap of mono_wasm_invoke_method and mono_wasm_try_unbox_primitive_and_get_type - fixed string interning on StringDecoder path - improved assert helper * feedeback from @kg
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/xharness dotnet/runtime-assets dotnet/hotreload-utils dotnet/llvm-project (#67289) * Update dependencies from https://github.com/dotnet/xharness build 20220328.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22173.1 -> To Version 1.0.0-prerelease.22178.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220327.1 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.22171.1 -> To Version 7.0.0-beta.22177.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220328.2 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.2-alpha.0.22171.1 -> To Version 1.0.2-alpha.0.22178.2 * Update dependencies from https://github.com/dotnet/llvm-project build 20220328.2 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.22171.2 -> To Version 11.1.0-alpha.1.22178.2 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Mukund Raghav Sharma 提交于
* Fix a case of infinite retries while allocating at LOH boundary that is now an OOM * Addressed feedback. * Updated name of allocation variable and parenthesized the retry check
-
由 Brennan 提交于
-
由 Dan Moseley 提交于
* Increase timeout on regex count test * make it 30
-
由 Hugo Woodiwiss 提交于
* Scaffold TLS Support Helper Scaffolds an interoperable TLS support helper. Needs to be multi-file so that the Microsoft.Win32 dependency can be safely used in `MsQuicTlsSupportHelper.Windows.cs` * Invert `IsTls1_3Enabled` to `IsTls1_3Disabled` Disabling TLS1.3 is an explicit action in supported versions of windows, and we should check for the explicit configuration * Add check for whether TLS1.3 Is DDisabled * Add reference to Microsoft.Win32.Registry for windows builds Need access to Registry API to check whether TLS 1.3 has been disabled * Remove Platform agnostic MsQuicTlsSupportHelper * Implement IsTls1_3Disabled - Checks if key exists - If not returns false - Gets Value from Key "Enabled" - If Enabled == 0 returns true - Any other case returns false * Revert some spacing and line changes in csproj * Remove added spaces from .csproj * Move to conditional compilation for TLS Check * Move to TARGET_WINDOWS defined constant Update to check correct registry keys/values * Simplify IsTls13Disabled implementation * Remove IsTls13Disabled from Windows version check * Add TLS13MayBeDisabled flag * Add `QuicTlsVersionException` Throw `QuicTlsVersionException` on specific failures of ConfigurationLoadCredential Throw this exception if status is 0x80090331 (Algorithm Mismatch), and the registry indicated that Tls13 could be disabled * Fix IDE resource file whitespace changes * Update net_quic_tls_version_notsupported message * Change error code comparison to use Interop.SECURITY_STATUS Make AlgorithmMismatch check TARGET_WINDOWS only Interop.SECURITY_STATUS contains status values from SChannel, which is the source of this error in the first place. * Remove QuicTlsVersionException and update usages * Remove unused using
-
由 Kunal Pathak 提交于
* Add size * Remove unreachable blocks * Ensure epoch * Add a condition in asserT * Add test case * Another shorter implementation * Add DeadBlock elimination * fgDomsComputed adjusted * Review comment
-
- 29 3月, 2022 8 次提交
-
-
由 madelson 提交于
* Avoid allocating a delegate in OptionsMonitor.Get() when possible. Fix #61086 * Address feedback from https://github.com/dotnet/runtime/pull/66688#discussion_r827519222 * Use locals to avoid unnecessary closure allocations. * Remove another closure allocation in OptionsMonitor and add test for #61086.
-
由 SingleAccretion 提交于
* Use a handle for field sequences in VN The field sequences are already canonical in the store, so there is no need to have the somewhat involved code in VN which essentially re-canonicalized them, we can just use the pointer value (as a handle) to encode them. Makes the future change of encoding some information in the handle a little easier. * Encode the statics * Use shared-ness info in IsFieldAddr
-
由 Larry Ewing 提交于
This reverts commit 67f26ca4 and adds back the emulated win-arm64 workloads
-
由 Jérôme Laban 提交于
-
由 Aleksey Kliger (λgeek) 提交于
-
由 Marie Píchová 提交于
-
由 Ilona Tomkowicz 提交于
-
由 Robin Lindner 提交于
* Move CancellationToken throwing logic to the end of `Task.Wait` To match the default behavior * Fix timeout behavior in `NetworkStream.Close` Use milliseconds instead of seconds * Remove `SendPingAsync` overloads
-