- 22 9月, 2022 13 次提交
-
-
由 Jan Vorlicek 提交于
* Fix x64 cross build on arm64 macOS There were couple of minor issues that prevented successful building of x64 macOS runtime on arm64 macOS device. This change fixes them. * Remove cross architecture combination check * Reflect PR feedback * Fix #endif comment
-
由 Jan Vorlicek 提交于
.NET Framework was logging managed stack trace of access violations that happened in external native code in the event log. .NET core only logs the address and error code of the exception, which makes it difficult for developers to figure out which part of their managed code has called the failing native code. The reason why .NET core doesn't print the stack trace is that the access violation is now handled as fail fast instead of regular unhandled exception. And while we report managed stack traces in the EEPolicy::FatalError for fail fasts called from our runtime and managed code in both runtime and user code, we don't report it when we come to that method due to the access violation. This change enables printing the stack trace for that case too.
-
由 Aaron Robinson 提交于
* Revert previous changes to gc.cpp and make class Volatile have a default ctor * Remove unnecessary use of memset
-
由 Tanner Gooding 提交于
* Fixing a case where a *.PlatformNotSupported.cs type was marked Intrinsic * Under mismatched VM (AltJit) allow any method to be checked as an intrinsic * Simplify some logic in impIntrinsic and move the info.compMatchedVM check higher
-
由 Koundinya Veluri 提交于
- Refactored an error path for named mutexes to before the object is registered - This also fixed a rare crash on error paths while creating a handle due to an extra attempt to release a reference Fixes https://github.com/dotnet/runtime/issues/7125
-
由 Kevin Jones 提交于
-
由 Filip Navara 提交于
[NativeAOT] Use clock_gettime_nsec_np if available in GCToOSInterface::GetLowPrecisionTimeStamp (#75862) * Use clock_gettime_nsec_np if available in GCToOSInterface::GetLowPrecisionTimeStamp This aligns NativeAOT implementation with the CoreCLR one. * Change GCToOSInterface::GetLowPrecisionTimeStamp to return 64-bit value, align implementation with PalGetTickCount64, and use it in NativeAOT
-
由 Brennan 提交于
-
由 Viktor Hofer 提交于
* Fix visibility modifier inconsistency in TextFieldParser The original change brought this API over from .NET Framework without an explicit visibility modifier: https://github.com/dotnet/corefx/pull/32668/files#diff-b244839a8ccb916e708d4ea6158d8bb573e3768d6bb7a3e327a51f2ab1e37c28R641. That member is publicly exposed on .NET Framework: https://referencesource.microsoft.com/#Microsoft.VisualBasic/Microsoft/VisualBasic/FileIO/TextFieldParser.cs,42. Noticed during the bootstrap of the new APICompat tooling: https://github.com/dotnet/runtime/pull/73263. * Update src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Drew Kersnar 提交于
* Add missing inheritdocs for TryParse * Fix documentation for UInt128/Int128.ToString * Revert "Fix documentation for UInt128/Int128.ToString" This reverts commit f18cfa7ee95cea427b72e8da15e6af91da8b0391. * Apply suggestions from dotnet-api-docs review
-
由 Viktor Hofer 提交于
This makes sure that partner repositories have their internal transport packages available. This needs to be set explicitly as during servicing, libraries only publish on demand. This also fixes broken 7.0 servicing builds which require at least one package to be published. Manual, partial backport of c5a20f91.
-
由 Viktor Hofer 提交于
The existing APICompat tooling doesn't indicate a compatibility error when comparing the contract assembly against the implementation assembly and the `[return: ...]` attributes aren't in sync. The new tooling that is being bootstrapped in dotnet/runtime via https://github.com/dotnet/runtime/pull/73263 does flag them. In this case a few type members were missing the `DynamicallyAccessedMembers` return attribute in the contract.
-
由 Stephen Toub 提交于
-
- 21 9月, 2022 22 次提交
-
-
由 Michał Petryka 提交于
* Optimize AwayFromZero rounding Makes AwayFromZero use a fast managed implementation instead of an FCall. The code is not fully optimal due to CopySign not being optimized for constant inputs, it could be workarounded with direct Sse usage but propely fixing CopySign would be better. * Update MathF.cs * Update MathF.cs * Update src/libraries/System.Private.CoreLib/src/System/MathF.cs Co-authored-by: NTanner Gooding <tagoo@outlook.com> Co-authored-by: NTanner Gooding <tagoo@outlook.com>
-
由 Carlos Sanchez 提交于
Co-authored-by: Ncarlossanlop <carlossanlop@users.noreply.github.com>
-
由 Viktor Hofer 提交于
* Fix public key token for Serialization.Schema lib The Microsoft public key token was only applied to the source assembly but not to the contract. * Update Directory.Build.props
-
由 Radek Doulik 提交于
To mention the right workload for the templates.
-
由 Milos Kotlar 提交于
-
由 Pavel Savara 提交于
-
由 Ilona Tomkowicz 提交于
-
由 Egor Bogatov 提交于
Co-authored-by: NJan Kotas <jkotas@microsoft.com>
-
由 Ankit Jain 提交于
This will also avoid intermittent failures like https://github.com/dotnet/runtime/issues/75391
-
由 Elinor Fung 提交于
Remnants of crossgen code removal.
-
由 MSDN.WhiteKnight 提交于
-
由 Andrew Au 提交于
-
由 Andrew Au 提交于
-
由 Jeremy Barton 提交于
-
由 Stephen Toub 提交于
It had its own implementation of URL encoding; we can just use WebUtility.UrlEncode. And it had its own helper for checking whether a byte array had a prefix; we can just use StartsWith.
-
由 Stephen Toub 提交于
-
由 Tanner Gooding 提交于
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20220906.4 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22456.4 * Update dependencies from https://github.com/dotnet/arcade build 20220912.4 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22462.4 * Update dependencies from https://github.com/dotnet/arcade build 20220913.5 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22463.5 * Update dependencies from https://github.com/dotnet/arcade build 20220915.7 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22465.7 * Update dependencies from https://github.com/dotnet/arcade build 20220916.3 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22466.3 * Update dependencies from https://github.com/dotnet/arcade build 20220919.1 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22469.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/icu dotnet/xharness dotnet/hotreload-utils dotnet/llvm-project (#75886) * Update dependencies from https://github.com/dotnet/icu build 20220919.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 8.0.0-alpha.1.22462.1 -> To Version 8.0.0-alpha.1.22469.1 * Update dependencies from https://github.com/dotnet/xharness build 20220919.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22467.1 -> To Version 1.0.0-prerelease.22469.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220919.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.1.0-alpha.0.22462.2 -> To Version 1.1.0-alpha.0.22469.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220919.3 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 From Version 14.0.0-alpha.1.22462.3 -> To Version 14.0.0-alpha.1.22469.3 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Andrew Au 提交于
-
由 David Wrighton 提交于
Add infinite codegen stress feature to crossgen2 and fix memory usage issues found while doing so (#74956) - Add Inifinite codegen stress mode which runs the compilation portion of crossgen2 in an infinite loop - Fix a couple of memory leaks around PInvokeTargetNativeMethod and UnboxingMethodDesc - These were being stored into long-lived data structures, and I was able to make at least UnboxingMethodDesc have a feature which prevents them from being stored for a long period of time - Address a number of scenarios where we allocate tremendous amounts of useless garbage - Our pattern for using ConcurrentDictionary was allocating a delegate on every lookup - Tweak ModuleTokenResolver to not need to allocate new copies of the `TokenResolverProvider` and the various `ImmutableArray` objects in the signature decoders as we don't actually need the return value from those apis. - Tweak parallelization strategy to use raw threads instead of `Parallel.ForEach` - This allows us to easily control thread lifetime, as well as providing a means to eliminate old and no-longer used `CorInfoImpl` instances. - This should address to some extent high levels of memory needed for compilation seen by some customers # Inifite codegen stress mode Enable by passing --codegenopt:InfiniteCompileStress=1 on the command line A simple way to use this would be to run stress it on system.private.corelib.dll. Assuming that a release clr+libs has been built and your enlistment is in `c:\gitdir\runtime`, run something like the following ``` pushd c:\gitdir\runtime src\tests\build generatelayoutonly set CORE_ROOT=C:\gitdir\runtime\artifacts\tests\coreclr\windows.x64.Release\tests\core_root SET DOTNET_gcServer=1 SET DOTNET_GCHeapCount=6 %CORE_ROOT%\corerun C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\crossgen2\crossgen2.dll -o:C:\temp\System.Private.CoreLib.dll -r:C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\IL\*.dll --targetarch:x64 -m:C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\StandardOptimizationData.mibc --embed-pgo-data -O C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\IL\System.Private.CoreLib.dll --pdb --pdb-path:C:\temp --codegenopt:InfiniteCompileStress=1 ``` That will run for an infinite period of time, and stress the GC and various other aspects of the runtime.
-
由 Eric Erhardt 提交于
* Split libraries and wasm devcontainers Codespaces allows for monorepo support now. So we can have different pre-builds for different dev environments. Creating a "libraries" pre-build and a "wasm" pre-build devcontainer. * Move devcontainer files into separate folders * Path up a directory to the Dockerfile * Split the Dockerfile so it can be customized per devcontainer * Update Codespaces docs * Respond to PR feedback * Use the new open devcontainers path. * Use the GH CLI feature instead of installing it ourselves * Set hostRequirements for Codespaces Developing in dotnet/runtime with a 2-core / 4GB ram machine doesn't work very well. Add a minimum of 4-core machine to the devcontainer spec. Fix #75680
-
- 20 9月, 2022 5 次提交
-
-
由 Egor Bogatov 提交于
-
由 Stephen Toub 提交于
-
由 Eric Erhardt 提交于
We added 5 new intrinsic TypeConverters in https://github.com/dotnet/runtime/commit/367fe33ea0a25392980f44f76307e210813228fb but missed updating the dictionary capacity.
-
由 Viktor Hofer 提交于
Fixes the failures in the 7.0.1 test servicing build: ``` /__w/1/s/.packages/microsoft.dotnet.build.tasks.packaging/7.0.0-beta.22416.1/build/Packaging.targets(800,5): error : No VersionSuffix was set. Ensure it is set before targets in packaging are ran. [/__w/1/s/src/coreclr/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj] ##[error].packages/microsoft.dotnet.build.tasks.packaging/7.0.0-beta.22416.1/build/Packaging.targets(800,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) No VersionSuffix was set. Ensure it is set before targets in packaging are ran. /__w/1/s/.packages/microsoft.dotnet.build.tasks.packaging/7.0.0-beta.22416.1/build/Packaging.targets(800,5): error : No VersionSuffix was set. Ensure it is set before targets in packaging are ran. [/__w/1/s/src/coreclr/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj] ##[error].packages/microsoft.dotnet.build.tasks.packaging/7.0.0-beta.22416.1/build/Packaging.targets(800,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) No VersionSuffix was set. Ensure it is set before targets in packaging are ran. ```
-
由 Kunal Pathak 提交于
* fixed dotnet version * comment everything except benchmarks * Add comment * Revert "comment everything except benchmarks" This reverts commit 1a6ae318ee6a1fadce7b662b36e9cf206f1acf43.
-